Query\AbstractQueryBuilder::_where_string
Simplify generating where string
Signature
protected function _where_string(mixed
$key,
[array
$val = ,
[string
$defaultConj = 'AND']] )
Parameters
$key
— mixed$val
— array$defaultConj
— string
Returns
- Query_Builder
Test Coverage
Information
- Coverage: 17/17 Lines (100%)
- Tests: 100
- Passed: 100 (100%)
Tests
- [ PASSED ] — MySQLQBTest::testQueryExplain
- [ PASSED ] — MySQLQBTest::testGetWhere
- [ PASSED ] — MySQLQBTest::testSelectWhereGet
- [ PASSED ] — MySQLQBTest::testSelectFromGet
- [ PASSED ] — MySQLQBTest::testSelectFromLimitGet
- [ PASSED ] — MySQLQBTest::testSelectWhereGet2
- [ PASSED ] — MySQLQBTest::testGroup
- [ PASSED ] — MySQLQBTest::testOrGroup
- [ PASSED ] — MySQLQBTest::testOrNotGroup
- [ PASSED ] — MySQLQBTest::testGroupCamelCase
- [ PASSED ] — MySQLQBTest::testOrWhereIn
- [ PASSED ] — MySQLQBTest::testWhereNotIn
- [ PASSED ] — MySQLQBTest::testOrWhereNotIn
- [ PASSED ] — MySQLQBTest::testOrderBy
- [ PASSED ] — MySQLQBTest::testOrderByRandom
- [ PASSED ] — MySQLQBTest::testGroupBy
- [ PASSED ] — MySQLQBTest::testOrWhere
- [ PASSED ] — MySQLQBTest::testJoinWithMultipleWhereValues
- [ PASSED ] — MySQLQBTest::testUpdate
- [ PASSED ] — MySQLQBTest::testSetArrayUpdate
- [ PASSED ] — MySQLQBTest::testWhereSetUpdate
- [ PASSED ] — MySQLQBTest::testDelete
- [ PASSED ] — MySQLQBTest::testDeleteWithMultipleWhereValues
- [ PASSED ] — MySQLQBTest::testCountAllResults2
- [ PASSED ] — MySQLQBTest::testGetCompiledDelete
- [ PASSED ] — PgSQLQBTest::testQueryExplain
- [ PASSED ] — PgSQLQBTest::testGetWhere
- [ PASSED ] — PgSQLQBTest::testSelectWhereGet
- [ PASSED ] — PgSQLQBTest::testSelectFromGet
- [ PASSED ] — PgSQLQBTest::testSelectFromLimitGet
- [ PASSED ] — PgSQLQBTest::testSelectWhereGet2
- [ PASSED ] — PgSQLQBTest::testGroup
- [ PASSED ] — PgSQLQBTest::testOrGroup
- [ PASSED ] — PgSQLQBTest::testOrNotGroup
- [ PASSED ] — PgSQLQBTest::testGroupCamelCase
- [ PASSED ] — PgSQLQBTest::testOrWhereIn
- [ PASSED ] — PgSQLQBTest::testWhereNotIn
- [ PASSED ] — PgSQLQBTest::testOrWhereNotIn
- [ PASSED ] — PgSQLQBTest::testOrderBy
- [ PASSED ] — PgSQLQBTest::testOrderByRandom
- [ PASSED ] — PgSQLQBTest::testGroupBy
- [ PASSED ] — PgSQLQBTest::testOrWhere
- [ PASSED ] — PgSQLQBTest::testJoinWithMultipleWhereValues
- [ PASSED ] — PgSQLQBTest::testUpdate
- [ PASSED ] — PgSQLQBTest::testSetArrayUpdate
- [ PASSED ] — PgSQLQBTest::testWhereSetUpdate
- [ PASSED ] — PgSQLQBTest::testDelete
- [ PASSED ] — PgSQLQBTest::testDeleteWithMultipleWhereValues
- [ PASSED ] — PgSQLQBTest::testCountAllResults2
- [ PASSED ] — PgSQLQBTest::testGetCompiledDelete
- [ PASSED ] — SQLiteQBTest::testQueryExplain
- [ PASSED ] — SQLiteQBTest::testGetWhere
- [ PASSED ] — SQLiteQBTest::testSelectWhereGet
- [ PASSED ] — SQLiteQBTest::testSelectFromGet
- [ PASSED ] — SQLiteQBTest::testSelectFromLimitGet
- [ PASSED ] — SQLiteQBTest::testSelectWhereGet2
- [ PASSED ] — SQLiteQBTest::testGroup
- [ PASSED ] — SQLiteQBTest::testOrGroup
- [ PASSED ] — SQLiteQBTest::testOrNotGroup
- [ PASSED ] — SQLiteQBTest::testGroupCamelCase
- [ PASSED ] — SQLiteQBTest::testOrWhereIn
- [ PASSED ] — SQLiteQBTest::testWhereNotIn
- [ PASSED ] — SQLiteQBTest::testOrWhereNotIn
- [ PASSED ] — SQLiteQBTest::testOrderBy
- [ PASSED ] — SQLiteQBTest::testOrderByRandom
- [ PASSED ] — SQLiteQBTest::testGroupBy
- [ PASSED ] — SQLiteQBTest::testOrWhere
- [ PASSED ] — SQLiteQBTest::testJoinWithMultipleWhereValues
- [ PASSED ] — SQLiteQBTest::testUpdate
- [ PASSED ] — SQLiteQBTest::testSetArrayUpdate
- [ PASSED ] — SQLiteQBTest::testWhereSetUpdate
- [ PASSED ] — SQLiteQBTest::testDelete
- [ PASSED ] — SQLiteQBTest::testDeleteWithMultipleWhereValues
- [ PASSED ] — SQLiteQBTest::testCountAllResults2
- [ PASSED ] — SQLiteQBTest::testGetCompiledDelete
- [ PASSED ] — FirebirdQBTest::testQueryExplain
- [ PASSED ] — FirebirdQBTest::testGetWhere
- [ PASSED ] — FirebirdQBTest::testSelectWhereGet
- [ PASSED ] — FirebirdQBTest::testSelectFromGet
- [ PASSED ] — FirebirdQBTest::testSelectFromLimitGet
- [ PASSED ] — FirebirdQBTest::testSelectWhereGet2
- [ PASSED ] — FirebirdQBTest::testGroup
- [ PASSED ] — FirebirdQBTest::testOrGroup
- [ PASSED ] — FirebirdQBTest::testOrNotGroup
- [ PASSED ] — FirebirdQBTest::testGroupCamelCase
- [ PASSED ] — FirebirdQBTest::testOrWhereIn
- [ PASSED ] — FirebirdQBTest::testWhereNotIn
- [ PASSED ] — FirebirdQBTest::testOrWhereNotIn
- [ PASSED ] — FirebirdQBTest::testOrderBy
- [ PASSED ] — FirebirdQBTest::testOrderByRandom
- [ PASSED ] — FirebirdQBTest::testGroupBy
- [ PASSED ] — FirebirdQBTest::testOrWhere
- [ PASSED ] — FirebirdQBTest::testJoinWithMultipleWhereValues
- [ PASSED ] — FirebirdQBTest::testUpdate
- [ PASSED ] — FirebirdQBTest::testSetArrayUpdate
- [ PASSED ] — FirebirdQBTest::testWhereSetUpdate
- [ PASSED ] — FirebirdQBTest::testDelete
- [ PASSED ] — FirebirdQBTest::testDeleteWithMultipleWhereValues
- [ PASSED ] — FirebirdQBTest::testCountAllResults2
- [ PASSED ] — FirebirdQBTest::testGetCompiledDelete