Solar_Sql_Adapter::_modSelect()

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

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

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