ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:dictionary:column_attributes

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
Next revisionBoth sides next revision
v5:dictionary:column_attributes [2016/04/03 01:10] – [INDEX] mnewnhamv5:dictionary:column_attributes [2016/04/03 01:28] – [UNSIGNED] mnewnham
Line 96: Line 96:
 Creates a single column index using the same name as the column, with 'idx_' prepended to the name, e.g. a column of name ''column1'' will create an index of name ''idx_column1''. Creates a single column index using the same name as the column, with 'idx_' prepended to the name, e.g. a column of name ''column1'' will create an index of name ''idx_column1''.
 ------------------------------- -------------------------------
-==== KEY ==== 
  
---------------------------------+<WRAP right box 150px> 
 +** Usage: Any ** 
 +</WRAP>
 ==== NOQUOTE ==== ==== NOQUOTE ====
 +Prevents ADOdb from applying the normal quoting rules to tables, columns and indexes. For example, a column name that contains a special character such as  //**some-column**// will be automatically quoted to **//'some-column'//**. This tag prevents the behavior.
 -------------------------------- --------------------------------
 <WRAP right box 150px> <WRAP right box 150px>
Line 111: Line 112:
 **Usage: Column** **Usage: Column**
 </WRAP> </WRAP>
-==== PRIMARY ====+==== PRIMARY or KEY ====
 Indicates if the column is part of the [[wp>Unique Key|Primary Key]] of the table. Indicates if the column is part of the [[wp>Unique Key|Primary Key]] of the table.
 --------------------------- ---------------------------
Line 125: Line 126:
 </WRAP> </WRAP>
 ==== UNSIGNED ==== ==== UNSIGNED ====
 +Creates an unsigned integer.
v5/dictionary/column_attributes.txt · Last modified: 2022/09/02 04:11 by mnewnham