Query\AbstractDriver::_prefix
Sets the table prefix on the passed string
Signature
protected function _prefix(string
$str )
Parameters
$str
— string
Returns
- string
Test Coverage
Information
- Coverage: 4/4 Lines (100%)
- Tests: 257
- Passed: 257 (100%)
Tests
- [ PASSED ] — MySQLTest::testCreateTable
- [ PASSED ] — MySQLTest::testTruncate
- [ PASSED ] — MySQLTest::testGetColumns
- [ PASSED ] — MySQLTest::testGetIndexes
- [ 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::testCountAll
- [ PASSED ] — MySQLQBTest::testCountAllResults
- [ PASSED ] — MySQLQBTest::testCountAllResults2
- [ PASSED ] — MySQLQBTest::testNumRows
- [ PASSED ] — MySQLQBTest::testGetCompiledSelect
- [ PASSED ] — MySQLQBTest::testGetCompiledUpdate
- [ PASSED ] — MySQLQBTest::testGetCompiledInsert
- [ PASSED ] — MySQLQBTest::testGetCompiledDelete
- [ PASSED ] — MySQLQBTest::testBadNumRows
- [ PASSED ] — PgTest::testCreateTable
- [ PASSED ] — PgTest::testTruncate
- [ PASSED ] — PgTest::testGetColumns
- [ PASSED ] — PgTest::testGetIndexes
- [ 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::testCountAll
- [ PASSED ] — PgSQLQBTest::testCountAllResults
- [ PASSED ] — PgSQLQBTest::testCountAllResults2
- [ PASSED ] — PgSQLQBTest::testNumRows
- [ PASSED ] — PgSQLQBTest::testGetCompiledSelect
- [ PASSED ] — PgSQLQBTest::testGetCompiledUpdate
- [ PASSED ] — PgSQLQBTest::testGetCompiledInsert
- [ PASSED ] — PgSQLQBTest::testGetCompiledDelete
- [ PASSED ] — PgSQLQBTest::testBadNumRows
- [ PASSED ] — SQLiteTest::testDeleteTable
- [ PASSED ] — SQLiteTest::testTruncate
- [ PASSED ] — SQLiteTest::testGetColumns
- [ PASSED ] — SQLiteTest::testGetIndexes
- [ 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::testCountAll
- [ PASSED ] — SQLiteQBTest::testCountAllResults
- [ PASSED ] — SQLiteQBTest::testCountAllResults2
- [ PASSED ] — SQLiteQBTest::testNumRows
- [ PASSED ] — SQLiteQBTest::testGetCompiledSelect
- [ PASSED ] — SQLiteQBTest::testGetCompiledUpdate
- [ PASSED ] — SQLiteQBTest::testGetCompiledInsert
- [ PASSED ] — SQLiteQBTest::testGetCompiledDelete
- [ PASSED ] — SQLiteQBTest::testBadNumRows
- [ PASSED ] — FirebirdTest::testCreateTable
- [ PASSED ] — FirebirdTest::testDeleteTable
- [ PASSED ] — FirebirdTest::testTruncate
- [ PASSED ] — FirebirdTest::testGetColumns
- [ PASSED ] — FirebirdTest::testGetIndexes
- [ PASSED ] — FirebirdQBTest::testQueryExplain
- [ 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::testCountAll
- [ PASSED ] — FirebirdQBTest::testCountAllResults
- [ PASSED ] — FirebirdQBTest::testCountAllResults2
- [ PASSED ] — FirebirdQBTest::testNumRows
- [ PASSED ] — FirebirdQBTest::testGetCompiledSelect
- [ PASSED ] — FirebirdQBTest::testGetCompiledUpdate
- [ PASSED ] — FirebirdQBTest::testGetCompiledInsert
- [ PASSED ] — FirebirdQBTest::testGetCompiledDelete
- [ PASSED ] — FirebirdQBTest::testBadNumRows