class SqliteDriverMetas extends AbstractDriverMetaDatas {
14
15
public function getForeignKeys($tableName, $pkName, $dbName = null): array {
16
$recordset = $this->dbInstance->query ( "SELECT \"TABLE\" as TABLE_NAME , \"to\" as COLUMN_NAME , \"from\" as REFERENCED_TABLE_SCHEMA FROM pragma_foreign_key_list('".$tableName."') WHERE \"to\"='".$pkName."';");