v5:userguide:learn_dictionary:metacolumns
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
v5:userguide:learn_dictionary:metacolumns [2016/03/17 00:01] – mnewnham | v5:userguide:learn_dictionary:metacolumns [2016/03/17 00:16] – mnewnham | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <- v5: | + | <- v5: |
~~NOTOC~~ | ~~NOTOC~~ | ||
====== MetaColumns ====== | ====== MetaColumns ====== | ||
Line 30: | Line 30: | ||
===== Extended Attributes ===== | ===== Extended Attributes ===== | ||
- | Some drivers return an extended set of attributes that represent DBMS specific functionality. If you are writing portable applications you should not rely on these attributes to be available across all databases. | + | Some drivers return an extended set of attributes that represent DBMS specific functionality. |
+ | |||
+ | [not_null] => | ||
+ | [scale] => | ||
+ | [primary_key] => | ||
+ | |||
+ | If you are writing portable applications you should not rely on these attributes to be available across all databases. | ||
===== metaColumnNames ===== | ===== metaColumnNames ===== | ||
- | This method returns just the column names from the table. | + | This method |
+ | <code php> | ||
+ | |||
+ | $ar = $db-> | ||
+ | print_r($ar); | ||
+ | /* | ||
+ | * Returns: | ||
+ | COLUMN_1=> | ||
+ | COLUMN_2=> | ||
+ | COLUMN_3=> | ||
+ | */ | ||
+ | </ |
v5/userguide/learn_dictionary/metacolumns.txt · Last modified: 2016/03/20 15:05 by mnewnham