Todo List
This class is an "anchor" class that contains descriptors for all necessary elements of a table structure.
[line 192]
[line 197]
[line 162]
[line 187]
[line 182]
[line 172]
[line 157]
[line 167]
[line 177]
static array extractFields( string $fieldDef)
Allowed characters for field names are "word" characters and minus, i.e. letters, digits, underscore and minus. Exmaple:
SETUPTableDescriptor __construct( string $createTable)
This method cannot parse arbitrary "CREATE TABLE" statements. It is designed to work with the output of "SHOW CREATE TABLE".