Interface IStructure
Provides cached reflection for database structure.
Direct known implementers
Nette\Database\Structure
public
array
|
|
public
array
|
|
public
string|array|null
|
|
public
string|null
|
|
public
mixed
|
#
getHasManyReference( string $table, string|null $targetTable = NULL )
Returns hasMany reference. If a targetTable is not provided, returns references for all tables. |
public
mixed
|
#
getBelongsToReference( string $table, string|null $column = NULL )
Returns belongsTo reference. If a column is not provided, returns references for all columns. |
public
mixed
|
|
public
boolean
|
string |
FIELD_TEXT
|
'string' |
|
string |
FIELD_BINARY
|
'bin' |
|
string |
FIELD_BOOL
|
'bool' |
|
string |
FIELD_INTEGER
|
'int' |
|
string |
FIELD_FLOAT
|
'float' |
|
string |
FIELD_DATE
|
'date' |
|
string |
FIELD_TIME
|
'time' |
|
string |
FIELD_DATETIME
|
'datetime' |
|
string |
FIELD_UNIX_TIMESTAMP
|
'timestamp' |
|
string |
FIELD_TIME_INTERVAL
|
'timeint' |