Solar_Sql_Model_Params_Fetch::limit()

public Solar_Sql_Model_Params_Fetch Solar_Sql_Model_Params_Fetch::limit ( int|array $spec )

Sets a LIMIT COUNT and OFFSET on the fetch.

Parameters

  • (int|array) $spec: A LIMIT COUNT value if an int; or, if an array, the first element is the LIMIT COUNT value, and the second is the LIMIT OFFSET value.

Returns

  • (Solar_Sql_Model_Params_Fetch)

Description

Sets a LIMIT COUNT and OFFSET on the fetch.



Local