Query\AbstractDriver::prepare_execute
Create and execute a prepared statement with the provided parameters
Signature
public function prepare_execute(string
$sql,
array
$params )
Parameters
$sql
— string$params
— array
Returns
- PDOStatement
Defined by Interface
Test Coverage
Information
- Coverage: 3/3 Lines (100%)
- Tests: 114
- Passed: 114 (100%)
Tests
- [ PASSED ] — MySQLTest::testPrepareExecute
- [ PASSED ] — MySQLQBTest::testQueryExplain
- [ PASSED ] — MySQLQBTest::testGetWhere
- [ PASSED ] — MySQLQBTest::testHaving
- [ PASSED ] — MySQLQBTest::testOrHaving
- [ 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::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::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::testCountAllResults2
- [ PASSED ] — MySQLQBTest::testBadNumRows
- [ PASSED ] — PgTest::testPrepareExecute
- [ PASSED ] — PgSQLQBTest::testQueryExplain
- [ PASSED ] — PgSQLQBTest::testGetWhere
- [ PASSED ] — PgSQLQBTest::testHaving
- [ PASSED ] — PgSQLQBTest::testOrHaving
- [ 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::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::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::testCountAllResults2
- [ PASSED ] — PgSQLQBTest::testBadNumRows
- [ PASSED ] — SQLiteTest::testPrepareExecute
- [ PASSED ] — SQLiteQBTest::testQueryExplain
- [ PASSED ] — SQLiteQBTest::testGetWhere
- [ PASSED ] — SQLiteQBTest::testHaving
- [ PASSED ] — SQLiteQBTest::testOrHaving
- [ 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::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::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::testCountAllResults2
- [ PASSED ] — SQLiteQBTest::testBadNumRows