/**
* Platform-dependant string escape
*/
protected function _escapeString(string
$str): string
{ if (!
$this->connID instanceof SQLite3
) { $this->
initialize();
} return $this->connID->
escapeString($str);
} /**
* Generates the SQL for listing tables in a platform-dependent manner.
*
* @param string|null $tableName If $tableName is provided will return only this table if exists.
*/
protected function _listTables(bool
$prefixLimit = false, ?string
$tableName = null
): string
{ if ($tableName !== null
) { return 'SELECT "NAME" FROM "SQLITE_MASTER" WHERE "TYPE" = \'table\''
.