ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:dictionary:metadatabases

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
v5:dictionary:metadatabases [2026/02/18 03:50] mnewnhamv5:dictionary:metadatabases [2026/02/18 03:51] (current) mnewnham
Line 8: Line 8:
 The function ''metaDatabases()'' returns a list of the databases visible to the connected user. If the driver does not support the command then it returns ''false''. Visibility of a database does not assume any rights are available to the connected user. The function ''metaDatabases()'' returns a list of the databases visible to the connected user. If the driver does not support the command then it returns ''false''. Visibility of a database does not assume any rights are available to the connected user.
 ===== Usage ===== ===== Usage =====
-The data is returned as a numeric array with the visible databases in lower case.+The data is returned as a numeric array with the visible databases in lower case. Whenever possible, system databases are excluded.
 <code php> <code php>
 /* /*
Line 18: Line 18:
  * returns Array  * returns Array
           (           (
-          [0] => information_schema +          [0] => piwik 
-          [1] => performance_schema +          [1] => test 
-          [2] => piwik +          [2] => world 
-          [3] => test +          [3] => user_database
-          [4] => world+
 ) )
 */ */
 </code> </code>
v5/dictionary/metadatabases.txt · Last modified: by mnewnham