Interface IReflection
Information about tables and columns structure.
Direct known implementers
Nette\Database\Reflection\ConventionalReflection, Nette\Database\Reflection\DiscoveredReflection
public
string|array
|
|
public
array
|
#
getHasManyReference( string $table, string $key )
Gets referenced table & referenced column. Example: |
public
array
|
#
getBelongsToReference( string $table, string $key )
Gets referenced table & referencing column. Example |
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' |