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
array|null
|
#
getHasManyReference( string $table, string|null $targetTable = null )
Returns hasMany reference. If a targetTable is not provided, returns references for all tables. |
public
array|null
|
#
getBelongsToReference( string $table, string|null $column = null )
Returns belongsTo reference. If a column is not provided, returns references for all columns. |
public
|
|
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' |