ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:dictionary:metatables

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
v5:dictionary:metatables [2016/02/24 18:33] – Inproved description of casing mnewnhamv5:dictionary:metatables [2025/08/29 14:32] (current) – [metaTables] align parameters dregad
Line 5: Line 5:
   string[] metaTables(   string[] metaTables(
     optional string $tableType=false,     optional string $tableType=false,
-    optional bool $showSchema=false+    optional bool   $showSchema=false,
     optional string $mask=false,     optional string $mask=false,
     optional string $schemaMask=false     optional string $schemaMask=false
Line 19: Line 19:
 ===== Parameters ===== ===== Parameters =====
 ==== $tableType ===== ==== $tableType =====
-There are 2 available options to this parameter: 
-^Option^Description^ 
-|TABLES|Only show tables in current schema| 
-|VIEWS|Only show views in current schema| 
  
-** Many databases support 'T' and 'V' as these options **+There are 3 possibles values for this parameter: 
 + 
 +^Value^Description^ 
 +| ''TABLES'' *| Only show tables in current schema   | 
 +| ''VIEWS'' * | Only show views in current schema    | 
 +| false       | Show both tables and views (default) | 
 + 
 +* Many drivers also support ''T'' and ''V'' as these options 
 -------------------------------- --------------------------------
  
Line 37: Line 41:
 </WRAP> </WRAP>
 ==== $mask ==== ==== $mask ====
-This option define a mask for matching tables . For example, setting $mask = 'TMP%' will match all tables that begin with 'TMP'+This option define a mask for matching tables . For example, setting $mask = 'TMP%' will match all tables that begin with 'TMP'Pattern matching is done in a manner consistent with the SQL //**LIKE**// syntax
 --------------------------------- ---------------------------------
 <WRAP right important 300px> <WRAP right important 300px>
v5/dictionary/metatables.1456335234.txt.gz · Last modified: (external edit)