Query\Drivers\Mysql\SQL::limit
Limit clause
Signature
public function limit(string
$sql,
int
$limit,
[boolean
$offset = FALSE] )
Parameters
$sql
—
string
$limit
—
int
$offset
—
boolean
Returns
- string
Defined by Interface
SQLInterface
Parent Implementation
Test Coverage
Information
- Coverage: 4/4 Lines (100%)
- Tests: 17
- Passed: 17 (100%)
Tests
- [ PASSED ] — MySQLQBTest::testQueryExplain
- [ PASSED ] — MySQLQBTest::testGetLimit
- [ PASSED ] — MySQLQBTest::testGetLimitSkip
- [ PASSED ] — MySQLQBTest::testGetWhere
- [ PASSED ] — MySQLQBTest::testSelectWhereGet
- [ PASSED ] — MySQLQBTest::testSelectGet
- [ PASSED ] — MySQLQBTest::testSelectFromLimitGet
- [ PASSED ] — MySQLQBTest::testSelectWhereGet2
- [ PASSED ] — MySQLQBTest::testGroup
- [ PASSED ] — MySQLQBTest::testOrGroup
- [ PASSED ] — MySQLQBTest::testOrNotGroup
- [ PASSED ] — MySQLQBTest::testGroupCamelCase
- [ PASSED ] — MySQLQBTest::testOrderBy
- [ PASSED ] — MySQLQBTest::testOrderByRandom
- [ PASSED ] — MySQLQBTest::testGroupBy
- [ PASSED ] — MySQLQBTest::testOrWhere
- [ PASSED ] — MySQLQBTest::testCountAllResults2