Query\AbstractDriver::set_last_query
Set the last query sql
Signature
public function set_last_query(string
$query_string )
Parameters
$query_string
— string
Returns
- void
Test Coverage
Information
- Coverage: 2/2 Lines (100%)
- Tests: 223
- Passed: 223 (100%)
Tests
- [ PASSED ] — MySQLQBTest::testQueryExplain
- [ PASSED ] — MySQLQBTest::testFunctionGet
- [ PASSED ] — MySQLQBTest::testGet
- [ PASSED ] — MySQLQBTest::testPrefixGet
- [ PASSED ] — MySQLQBTest::testGetWNumRows
- [ PASSED ] — MySQLQBTest::testGetLimit
- [ PASSED ] — MySQLQBTest::testGetLimitSkip
- [ PASSED ] — MySQLQBTest::testGetWhere
- [ PASSED ] — MySQLQBTest::testHaving
- [ PASSED ] — MySQLQBTest::testOrHaving
- [ PASSED ] — MySQLQBTest::testSelectWhereGet
- [ PASSED ] — MySQLQBTest::testSelectAvg
- [ PASSED ] — MySQLQBTest::testSelectSum
- [ PASSED ] — MySQLQBTest::testSelectDistinct
- [ PASSED ] — MySQLQBTest::testSelectGet
- [ PASSED ] — MySQLQBTest::testSelectFromGet
- [ PASSED ] — MySQLQBTest::testSelectFromLimitGet
- [ PASSED ] — MySQLQBTest::testSelectWhereGet2
- [ PASSED ] — MySQLQBTest::testSelectMax
- [ PASSED ] — MySQLQBTest::testSelectMin
- [ PASSED ] — MySQLQBTest::testMultiOrderBy
- [ PASSED ] — MySQLQBTest::testGroup
- [ PASSED ] — MySQLQBTest::testOrGroup
- [ PASSED ] — MySQLQBTest::testOrNotGroup
- [ PASSED ] — MySQLQBTest::testGroupCamelCase
- [ PASSED ] — MySQLQBTest::testWhereIn
- [ PASSED ] — MySQLQBTest::testOrWhereIn
- [ PASSED ] — MySQLQBTest::testWhereNotIn
- [ PASSED ] — MySQLQBTest::testOrWhereNotIn
- [ PASSED ] — MySQLQBTest::testOrderBy
- [ PASSED ] — MySQLQBTest::testOrderByRandom
- [ PASSED ] — MySQLQBTest::testGroupBy
- [ PASSED ] — MySQLQBTest::testOrWhere
- [ PASSED ] — MySQLQBTest::testLike
- [ PASSED ] — MySQLQBTest::testOrLike
- [ PASSED ] — MySQLQBTest::testOrNotLike
- [ PASSED ] — MySQLQBTest::testNotLike
- [ PASSED ] — MySQLQBTest::testLikeBefore
- [ PASSED ] — MySQLQBTest::testLikeAfter
- [ PASSED ] — MySQLQBTest::testJoin
- [ PASSED ] — MySQLQBTest::testLeftJoin
- [ PASSED ] — MySQLQBTest::testInnerJoin
- [ PASSED ] — MySQLQBTest::testJoinWithMultipleWhereValues
- [ PASSED ] — MySQLQBTest::testInsert
- [ PASSED ] — MySQLQBTest::testInsertArray
- [ PASSED ] — MySQLQBTest::testInsertBatch
- [ PASSED ] — MySQLQBTest::testUpdate
- [ PASSED ] — MySQLQBTest::testSetArrayUpdate
- [ PASSED ] — MySQLQBTest::testWhereSetUpdate
- [ PASSED ] — MySQLQBTest::testDelete
- [ PASSED ] — MySQLQBTest::testDeleteWithMultipleWhereValues
- [ PASSED ] — MySQLQBTest::testCountAllResults
- [ PASSED ] — MySQLQBTest::testCountAllResults2
- [ PASSED ] — MySQLQBTest::testNumRows
- [ PASSED ] — MySQLQBTest::testGetCompiledSelect
- [ PASSED ] — MySQLQBTest::testBadNumRows
- [ PASSED ] — PgSQLQBTest::testQueryExplain
- [ PASSED ] — PgSQLQBTest::testFunctionGet
- [ PASSED ] — PgSQLQBTest::testGet
- [ PASSED ] — PgSQLQBTest::testPrefixGet
- [ PASSED ] — PgSQLQBTest::testGetWNumRows
- [ PASSED ] — PgSQLQBTest::testGetLimit
- [ PASSED ] — PgSQLQBTest::testGetLimitSkip
- [ PASSED ] — PgSQLQBTest::testGetWhere
- [ PASSED ] — PgSQLQBTest::testHaving
- [ PASSED ] — PgSQLQBTest::testOrHaving
- [ PASSED ] — PgSQLQBTest::testSelectWhereGet
- [ PASSED ] — PgSQLQBTest::testSelectAvg
- [ PASSED ] — PgSQLQBTest::testSelectSum
- [ PASSED ] — PgSQLQBTest::testSelectDistinct
- [ PASSED ] — PgSQLQBTest::testSelectGet
- [ PASSED ] — PgSQLQBTest::testSelectFromGet
- [ PASSED ] — PgSQLQBTest::testSelectFromLimitGet
- [ PASSED ] — PgSQLQBTest::testSelectWhereGet2
- [ PASSED ] — PgSQLQBTest::testSelectMax
- [ PASSED ] — PgSQLQBTest::testSelectMin
- [ PASSED ] — PgSQLQBTest::testMultiOrderBy
- [ PASSED ] — PgSQLQBTest::testGroup
- [ PASSED ] — PgSQLQBTest::testOrGroup
- [ PASSED ] — PgSQLQBTest::testOrNotGroup
- [ PASSED ] — PgSQLQBTest::testGroupCamelCase
- [ PASSED ] — PgSQLQBTest::testWhereIn
- [ PASSED ] — PgSQLQBTest::testOrWhereIn
- [ PASSED ] — PgSQLQBTest::testWhereNotIn
- [ PASSED ] — PgSQLQBTest::testOrWhereNotIn
- [ PASSED ] — PgSQLQBTest::testOrderBy
- [ PASSED ] — PgSQLQBTest::testOrderByRandom
- [ PASSED ] — PgSQLQBTest::testGroupBy
- [ PASSED ] — PgSQLQBTest::testOrWhere
- [ PASSED ] — PgSQLQBTest::testLike
- [ PASSED ] — PgSQLQBTest::testOrLike
- [ PASSED ] — PgSQLQBTest::testOrNotLike
- [ PASSED ] — PgSQLQBTest::testNotLike
- [ PASSED ] — PgSQLQBTest::testLikeBefore
- [ PASSED ] — PgSQLQBTest::testLikeAfter
- [ PASSED ] — PgSQLQBTest::testJoin
- [ PASSED ] — PgSQLQBTest::testLeftJoin
- [ PASSED ] — PgSQLQBTest::testInnerJoin
- [ PASSED ] — PgSQLQBTest::testJoinWithMultipleWhereValues
- [ PASSED ] — PgSQLQBTest::testInsert
- [ PASSED ] — PgSQLQBTest::testInsertArray
- [ PASSED ] — PgSQLQBTest::testInsertBatch
- [ PASSED ] — PgSQLQBTest::testUpdate
- [ PASSED ] — PgSQLQBTest::testSetArrayUpdate
- [ PASSED ] — PgSQLQBTest::testWhereSetUpdate
- [ PASSED ] — PgSQLQBTest::testDelete
- [ PASSED ] — PgSQLQBTest::testDeleteWithMultipleWhereValues
- [ PASSED ] — PgSQLQBTest::testCountAllResults
- [ PASSED ] — PgSQLQBTest::testCountAllResults2
- [ PASSED ] — PgSQLQBTest::testNumRows
- [ PASSED ] — PgSQLQBTest::testGetCompiledSelect
- [ PASSED ] — PgSQLQBTest::testBadNumRows
- [ PASSED ] — SQLiteQBTest::testQueryExplain
- [ PASSED ] — SQLiteQBTest::testFunctionGet
- [ PASSED ] — SQLiteQBTest::testGet
- [ PASSED ] — SQLiteQBTest::testPrefixGet
- [ PASSED ] — SQLiteQBTest::testGetWNumRows
- [ PASSED ] — SQLiteQBTest::testGetLimit
- [ PASSED ] — SQLiteQBTest::testGetLimitSkip
- [ PASSED ] — SQLiteQBTest::testGetWhere
- [ PASSED ] — SQLiteQBTest::testHaving
- [ PASSED ] — SQLiteQBTest::testOrHaving
- [ PASSED ] — SQLiteQBTest::testSelectWhereGet
- [ PASSED ] — SQLiteQBTest::testSelectAvg
- [ PASSED ] — SQLiteQBTest::testSelectSum
- [ PASSED ] — SQLiteQBTest::testSelectDistinct
- [ PASSED ] — SQLiteQBTest::testSelectGet
- [ PASSED ] — SQLiteQBTest::testSelectFromGet
- [ PASSED ] — SQLiteQBTest::testSelectFromLimitGet
- [ PASSED ] — SQLiteQBTest::testSelectWhereGet2
- [ PASSED ] — SQLiteQBTest::testSelectMax
- [ PASSED ] — SQLiteQBTest::testSelectMin
- [ PASSED ] — SQLiteQBTest::testMultiOrderBy
- [ PASSED ] — SQLiteQBTest::testGroup
- [ PASSED ] — SQLiteQBTest::testOrGroup
- [ PASSED ] — SQLiteQBTest::testOrNotGroup
- [ PASSED ] — SQLiteQBTest::testGroupCamelCase
- [ PASSED ] — SQLiteQBTest::testWhereIn
- [ PASSED ] — SQLiteQBTest::testOrWhereIn
- [ PASSED ] — SQLiteQBTest::testWhereNotIn
- [ PASSED ] — SQLiteQBTest::testOrWhereNotIn
- [ PASSED ] — SQLiteQBTest::testOrderBy
- [ PASSED ] — SQLiteQBTest::testOrderByRandom
- [ PASSED ] — SQLiteQBTest::testGroupBy
- [ PASSED ] — SQLiteQBTest::testOrWhere
- [ PASSED ] — SQLiteQBTest::testLike
- [ PASSED ] — SQLiteQBTest::testOrLike
- [ PASSED ] — SQLiteQBTest::testOrNotLike
- [ PASSED ] — SQLiteQBTest::testNotLike
- [ PASSED ] — SQLiteQBTest::testLikeBefore
- [ PASSED ] — SQLiteQBTest::testLikeAfter
- [ PASSED ] — SQLiteQBTest::testJoin
- [ PASSED ] — SQLiteQBTest::testLeftJoin
- [ PASSED ] — SQLiteQBTest::testInnerJoin
- [ PASSED ] — SQLiteQBTest::testJoinWithMultipleWhereValues
- [ PASSED ] — SQLiteQBTest::testInsert
- [ PASSED ] — SQLiteQBTest::testInsertArray
- [ PASSED ] — SQLiteQBTest::testInsertBatch
- [ PASSED ] — SQLiteQBTest::testUpdate
- [ PASSED ] — SQLiteQBTest::testSetArrayUpdate
- [ PASSED ] — SQLiteQBTest::testWhereSetUpdate
- [ PASSED ] — SQLiteQBTest::testDelete
- [ PASSED ] — SQLiteQBTest::testDeleteWithMultipleWhereValues
- [ PASSED ] — SQLiteQBTest::testCountAllResults
- [ PASSED ] — SQLiteQBTest::testCountAllResults2
- [ PASSED ] — SQLiteQBTest::testNumRows
- [ PASSED ] — SQLiteQBTest::testGetCompiledSelect
- [ PASSED ] — SQLiteQBTest::testBadNumRows
- [ PASSED ] — FirebirdQBTest::testFunctionGet
- [ PASSED ] — FirebirdQBTest::testGet
- [ PASSED ] — FirebirdQBTest::testPrefixGet
- [ PASSED ] — FirebirdQBTest::testGetWNumRows
- [ PASSED ] — FirebirdQBTest::testGetLimit
- [ PASSED ] — FirebirdQBTest::testGetLimitSkip
- [ PASSED ] — FirebirdQBTest::testGetWhere
- [ PASSED ] — FirebirdQBTest::testHaving
- [ PASSED ] — FirebirdQBTest::testOrHaving
- [ PASSED ] — FirebirdQBTest::testSelectWhereGet
- [ PASSED ] — FirebirdQBTest::testSelectAvg
- [ PASSED ] — FirebirdQBTest::testSelectSum
- [ PASSED ] — FirebirdQBTest::testSelectDistinct
- [ PASSED ] — FirebirdQBTest::testSelectGet
- [ PASSED ] — FirebirdQBTest::testSelectFromGet
- [ PASSED ] — FirebirdQBTest::testSelectFromLimitGet
- [ PASSED ] — FirebirdQBTest::testSelectWhereGet2
- [ PASSED ] — FirebirdQBTest::testSelectMax
- [ PASSED ] — FirebirdQBTest::testSelectMin
- [ PASSED ] — FirebirdQBTest::testMultiOrderBy
- [ PASSED ] — FirebirdQBTest::testGroup
- [ PASSED ] — FirebirdQBTest::testOrGroup
- [ PASSED ] — FirebirdQBTest::testOrNotGroup
- [ PASSED ] — FirebirdQBTest::testGroupCamelCase
- [ PASSED ] — FirebirdQBTest::testWhereIn
- [ PASSED ] — FirebirdQBTest::testOrWhereIn
- [ PASSED ] — FirebirdQBTest::testWhereNotIn
- [ PASSED ] — FirebirdQBTest::testOrWhereNotIn
- [ PASSED ] — FirebirdQBTest::testOrderBy
- [ PASSED ] — FirebirdQBTest::testOrderByRandom
- [ PASSED ] — FirebirdQBTest::testGroupBy
- [ PASSED ] — FirebirdQBTest::testOrWhere
- [ PASSED ] — FirebirdQBTest::testLike
- [ PASSED ] — FirebirdQBTest::testOrLike
- [ PASSED ] — FirebirdQBTest::testOrNotLike
- [ PASSED ] — FirebirdQBTest::testNotLike
- [ PASSED ] — FirebirdQBTest::testLikeBefore
- [ PASSED ] — FirebirdQBTest::testLikeAfter
- [ PASSED ] — FirebirdQBTest::testJoin
- [ PASSED ] — FirebirdQBTest::testLeftJoin
- [ PASSED ] — FirebirdQBTest::testInnerJoin
- [ PASSED ] — FirebirdQBTest::testJoinWithMultipleWhereValues
- [ PASSED ] — FirebirdQBTest::testInsert
- [ PASSED ] — FirebirdQBTest::testInsertArray
- [ PASSED ] — FirebirdQBTest::testInsertBatch
- [ PASSED ] — FirebirdQBTest::testUpdate
- [ PASSED ] — FirebirdQBTest::testSetArrayUpdate
- [ PASSED ] — FirebirdQBTest::testWhereSetUpdate
- [ PASSED ] — FirebirdQBTest::testDelete
- [ PASSED ] — FirebirdQBTest::testDeleteWithMultipleWhereValues
- [ PASSED ] — FirebirdQBTest::testCountAllResults
- [ PASSED ] — FirebirdQBTest::testCountAllResults2
- [ PASSED ] — FirebirdQBTest::testNumRows
- [ PASSED ] — FirebirdQBTest::testGetCompiledSelect
- [ PASSED ] — FirebirdQBTest::testBadNumRows