ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:dictionary:metaforeignkeys

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
v5:dictionary:metaforeignkeys [2021/11/08 17:44] – [metaForeignKeys] change default value for $tableName dregadv5:dictionary:metaforeignkeys [2026/02/14 01:09] (current) – change description of options mnewnham
Line 16: Line 16:
 If specified, only returns foreign keys associated with a table owned by that name. Some drivers discard this parameter If specified, only returns foreign keys associated with a table owned by that name. Some drivers discard this parameter
 ==== $upper ==== ==== $upper ====
-if specified, only matches the table with the uppercase nameThis parameter is discarded by some drivers+if specified, the table and columns are returned in uppercase. Default is lowercase.
 ==== $associative==== ==== $associative====
-If specified, returns the result in associative mode. If ADODB_FETCH_MODE is already associative, then this parameter is discarded. Some drivers ignore this parameter.+If specified, returns the result in associative mode. If ADODB_FETCH_MODE is already associative, then this parameter is discarded.
 ===== Return Value ===== ===== Return Value =====
 The method returns an array of data: The method returns an array of data:
-  *  the main key represents the foreign table that the key associated with.+  * The main key represents the foreign table that the key associated with.
   * The values of the key are either a key=>value pair, the key being the column name of the source table and the value being the column name of the foreign table if the request is ''associative'', or a numeric key with value being the same data represented as ''local column'' + '=' + ''foreign column''.   * The values of the key are either a key=>value pair, the key being the column name of the source table and the value being the column name of the foreign table if the request is ''associative'', or a numeric key with value being the same data represented as ''local column'' + '=' + ''foreign column''.
  
v5/dictionary/metaforeignkeys.txt · Last modified: by mnewnham