v5:dictionary:column_attributes
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| v5:dictionary:column_attributes [2016/04/03 01:29] – [CONSTRAINT] mnewnham | v5:dictionary:column_attributes [2024/08/31 16:26] (current) – multiple column definitions separated by comma dregad | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ======= Dictionary Column Attributes ======= | ======= Dictionary Column Attributes ======= | ||
| ====== Description ====== | ====== Description ====== | ||
| - | When creating a column in a table using the dictionary methods, the information provided must confirm | + | When creating a column in a table using the dictionary methods, the information provided must conform | 
| - | -------------------------------- | + | |
| - | <WRAP right info 300px> | + | |
| - | $fields is a string, not an array | + | |
| - | </ | + | |
| ====== Basic Syntax ====== | ====== Basic Syntax ====== | ||
| + | |||
| The basic syntax of the attributes is as follows: | The basic syntax of the attributes is as follows: | ||
| - | * All the information for the column must occur on a single line. | + | * All the information for a given column must occur on a single line. | 
| + | * Multiple columns definitions must be separated by a comma '','' | ||
| * The line ending may be a newline or carriage return/ | * The line ending may be a newline or carriage return/ | ||
| * Each attribute must be separated by at least one tab or space. | * Each attribute must be separated by at least one tab or space. | ||
| Line 41: | Line 40: | ||
| ======= | ======= | ||
| ===== Column Name ===== | ===== Column Name ===== | ||
| - | * The column name must conform to any database specific standards related to naming and length. | + | * The column name must conform to any database specific standards related to naming and length. | 
| - | + | ||
| ===== Meta Attributes ===== | ===== Meta Attributes ===== | ||
| * The column attributes in terms of type and length **must** be specified in terms of ADODb [[v5: | * The column attributes in terms of type and length **must** be specified in terms of ADODb [[v5: | ||
| Line 84: | Line 82: | ||
| </ | </ | ||
| ==== ENUM ==== | ==== ENUM ==== | ||
| - | In databases that support the ENUM datatype, append a parenthesized, | + | In databases that support the //**ENUM**// datatype, append a parenthesized, | 
| ENUM(' | ENUM(' | ||
|  |  | ||
v5/dictionary/column_attributes.1459639786.txt.gz · Last modified:  (external edit)
                
                