dblayeroo : update meta function headers

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5124 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2019-03-15 13:06:03 +00:00
parent 9fa1a80bb9
commit 12e8a96b7a

View File

@@ -313,7 +313,7 @@ class dblayeroo
natsort ($res);
return array_values ($res);
}
/* }}} */
/* }}} */
/** Create the table defined by the differents fields.
* Define the SQL syntax based on SQL engines
@@ -997,7 +997,7 @@ class dblayeroo
information_schema.KEY_COLUMN_USAGE AS kColUsage2,
information_schema.REFERENTIAL_CONSTRAINTS AS rCons
WHERE
kColUsage1.table_catalog=:dbname
kColUsage1.table_catalog=:dbname
AND kColUsage2.table_name=:table
AND rCons.constraint_name=kColUsage1.constraint_name
AND rCons.unique_constraint_name=kColUsage2.constraint_name
@@ -1481,6 +1481,14 @@ class dblayeroo
}
// }}}
/** Get the meta data or clear them.
* The meta data are all the requests done by the dblayeroo, the time needed
* for each, the number of rows returned by the SQL server.
* They allow to debug the app
* @param boolean|null $meta If meta is set, clear the meta-data. If not set,
* return the actual value of the meta-data
* @return array or $this
*/
public function meta ($meta = null)
// {{{
{