cSmartSqlStatement::SetLimits() - rstoetter/csmartsqlstatement-php GitHub Wiki

Method SetLimits( )

 public   mixed rstoetter\cSmartSqlStatement\cSmartSqlStatement::SetLimits(string $from, string $count)

The method SetLimits( ) sets the LIMIT clause of the statement

Example:

Arguments

  • $from string - <p>the from part from the LIMIT clause of the statement</p>
  • $count string - <p>the count part from the LIMIT clause of the statement or an empty string. It defaults to an empty string</p>