Solar_Sql_Adapter_Mysql::_modSelect()

protected void Solar_Sql_Adapter_Mysql::_modSelect ( string $$stmt , array $$parts )

Modifies a SELECT statement in place to add a LIMIT clause.

Inherited from Solar_Sql_Adapter.

Parameters

  • (string) &$stmt: The SELECT statement.

  • (array) &$parts: The orignal SELECT component parts, in case the adapter needs them.

Returns

  • (void)

Description

Modifies a SELECT statement in place to add a LIMIT clause.

The default code adds a LIMIT for MySQL, PostgreSQL, and Sqlite, but adapters can override as needed.



Local