Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
tbl
Commits
45ddfc76
Commit
45ddfc76
authored
Nov 03, 2020
by
Laurent Lécluse
Browse files
Ne pas prendre en compte les colonnes cachées
parent
ad89fcae
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/UnicaenTbl/Service/SchemaService.php
View file @
45ddfc76
...
...
@@ -56,7 +56,7 @@ class SchemaService extends AbstractService
/* Récupération des colonnes des tableaux de bord */
if
(
$tables
)
{
$sql
=
"SELECT TABLE_NAME, COLUMN_NAME, NULLABLE FROM USER_TAB_COLS WHERE "
.
"TABLE_NAME IN ('"
.
implode
(
"','"
,
array_keys
(
$tables
))
.
"') ORDER BY COLUMN_ID"
;
.
"TABLE_NAME IN ('"
.
implode
(
"','"
,
array_keys
(
$tables
))
.
"')
AND hidden_column = 'NO'
ORDER BY COLUMN_ID"
;
$d
=
$this
->
query
(
$sql
,
[]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment