Query\QueryBuilder::set
Sets values for inserts / updates / deletes
Signature
public function set(mixed
$key,
[mixed
$val = NULL] )
Parameters
$key
—
mixed
$val
—
mixed
Returns
- Query_Builder
Defined by Interface
QueryBuilderInterface
Test Coverage
Information
- Coverage: 6/6 Lines (100%)
- Tests: 32
- Passed: 32 (100%)
Tests
- [ PASSED ] — MySQLQBTest::testInsert
- [ PASSED ] — MySQLQBTest::testInsertArray
- [ PASSED ] — MySQLQBTest::testUpdate
- [ PASSED ] — MySQLQBTest::testSetArrayUpdate
- [ PASSED ] — MySQLQBTest::testWhereSetUpdate
- [ PASSED ] — MySQLQBTest::testGetCompiledUpdate
- [ PASSED ] — MySQLQBTest::testGetCompiledInsert
- [ PASSED ] — MySQLQBTest::testBadNumRows
- [ PASSED ] — PgSQLQBTest::testInsert
- [ PASSED ] — PgSQLQBTest::testInsertArray
- [ PASSED ] — PgSQLQBTest::testUpdate
- [ PASSED ] — PgSQLQBTest::testSetArrayUpdate
- [ PASSED ] — PgSQLQBTest::testWhereSetUpdate
- [ PASSED ] — PgSQLQBTest::testGetCompiledUpdate
- [ PASSED ] — PgSQLQBTest::testGetCompiledInsert
- [ PASSED ] — PgSQLQBTest::testBadNumRows
- [ PASSED ] — SQLiteQBTest::testInsert
- [ PASSED ] — SQLiteQBTest::testInsertArray
- [ PASSED ] — SQLiteQBTest::testUpdate
- [ PASSED ] — SQLiteQBTest::testSetArrayUpdate
- [ PASSED ] — SQLiteQBTest::testWhereSetUpdate
- [ PASSED ] — SQLiteQBTest::testGetCompiledUpdate
- [ PASSED ] — SQLiteQBTest::testGetCompiledInsert
- [ PASSED ] — SQLiteQBTest::testBadNumRows
- [ PASSED ] — FirebirdQBTest::testInsert
- [ PASSED ] — FirebirdQBTest::testInsertArray
- [ PASSED ] — FirebirdQBTest::testUpdate
- [ PASSED ] — FirebirdQBTest::testSetArrayUpdate
- [ PASSED ] — FirebirdQBTest::testWhereSetUpdate
- [ PASSED ] — FirebirdQBTest::testGetCompiledUpdate
- [ PASSED ] — FirebirdQBTest::testGetCompiledInsert
- [ PASSED ] — FirebirdQBTest::testBadNumRows