Previous Page
_buildDsn()

Solar_Sql_Adapter_Pgsql
_checkIdentifier()

Next Page
_createSequence()

_checkIdentifier()

protected bool _checkIdentifier ( string $type, string $name )

Check if a table, column, or index name is a valid identifier.

Inherited from Solar_Sql_Adapter.

Parameters

  • (string) $type: The indentifier type: table, index, sequence, etc.
  • (string) $name: The identifier name to check.

Returns

  • (bool) True if valid, false if not.

Description

Check if a table, column, or index name is a valid identifier.