Class DiscoveredViewReflection
Reflection metadata class with discovery for a database.
- Nette\Database\Reflection\DiscoveredReflection
- BaseModule\DiscoveredViewReflection implements Nette\Database\IReflection
Namespace: BaseModule
Author: Jan Skrasek
Located at BaseModule/database/DiscoveredViewReflection.php
Author: Jan Skrasek
Located at BaseModule/database/DiscoveredViewReflection.php
public
string
|
#
getPrimary( type $table )
Gets primary key - if not found with default DiscoveredReflection, use column called 'id' |
public
type
|
#
getHasManyReference( type $table, type $key, type $refresh = TRUE )
Manually add references for views (which is something standard Nette DiscoveredReflection cannot do) |
public write-only
Nette\Database\Connection
|
$connection
|