Query\AbstractQueryBuilder::_where_in
Simplify where_in methods
Signature
protected function _where_in(mixed
$key,
[array
$val = ,
[string
$in = 'IN',
[string
$conj = 'AND']]] )
Parameters
$key
—
mixed
$val
—
array
$in
—
string
- - The (not) in fragment
$conj
—
string
- - The where in conjunction
Returns
- Query_Builder
Test Coverage
Information
- Coverage: 9/9 Lines (100%)
- Tests: 16
- Passed: 16 (100%)
Tests
- [ PASSED ] — MySQLQBTest::testWhereIn
- [ PASSED ] — MySQLQBTest::testOrWhereIn
- [ PASSED ] — MySQLQBTest::testWhereNotIn
- [ PASSED ] — MySQLQBTest::testOrWhereNotIn
- [ PASSED ] — PgSQLQBTest::testWhereIn
- [ PASSED ] — PgSQLQBTest::testOrWhereIn
- [ PASSED ] — PgSQLQBTest::testWhereNotIn
- [ PASSED ] — PgSQLQBTest::testOrWhereNotIn
- [ PASSED ] — SQLiteQBTest::testWhereIn
- [ PASSED ] — SQLiteQBTest::testOrWhereIn
- [ PASSED ] — SQLiteQBTest::testWhereNotIn
- [ PASSED ] — SQLiteQBTest::testOrWhereNotIn
- [ PASSED ] — FirebirdQBTest::testWhereIn
- [ PASSED ] — FirebirdQBTest::testOrWhereIn
- [ PASSED ] — FirebirdQBTest::testWhereNotIn
- [ PASSED ] — FirebirdQBTest::testOrWhereNotIn