Query\QueryBuilder::select
Specifies rows to select in a query
Signature
public function select(string
$fields )
Parameters
$fields
—
string
Returns
- Query_Builder
Defined by Interface
QueryBuilderInterface
Test Coverage
Information
- Coverage: 20/20 Lines (100%)
- Tests: 72
- Passed: 72 (100%)
Tests
- [ PASSED ] — MySQLQBTest::testQueryExplain
- [ PASSED ] — MySQLQBTest::testFunctionGet
- [ PASSED ] — MySQLQBTest::testHaving
- [ PASSED ] — MySQLQBTest::testOrHaving
- [ PASSED ] — MySQLQBTest::testSelectWhereGet
- [ PASSED ] — MySQLQBTest::testSelectGet
- [ PASSED ] — MySQLQBTest::testSelectFromGet
- [ PASSED ] — MySQLQBTest::testSelectFromLimitGet
- [ PASSED ] — MySQLQBTest::testSelectWhereGet2
- [ PASSED ] — MySQLQBTest::testGroup
- [ PASSED ] — MySQLQBTest::testOrGroup
- [ PASSED ] — MySQLQBTest::testOrNotGroup
- [ PASSED ] — MySQLQBTest::testGroupCamelCase
- [ PASSED ] — MySQLQBTest::testOrderBy
- [ PASSED ] — MySQLQBTest::testOrderByRandom
- [ PASSED ] — MySQLQBTest::testGroupBy
- [ PASSED ] — MySQLQBTest::testOrWhere
- [ PASSED ] — MySQLQBTest::testCountAllResults2
- [ PASSED ] — PgSQLQBTest::testQueryExplain
- [ PASSED ] — PgSQLQBTest::testFunctionGet
- [ PASSED ] — PgSQLQBTest::testHaving
- [ PASSED ] — PgSQLQBTest::testOrHaving
- [ PASSED ] — PgSQLQBTest::testSelectWhereGet
- [ PASSED ] — PgSQLQBTest::testSelectGet
- [ PASSED ] — PgSQLQBTest::testSelectFromGet
- [ PASSED ] — PgSQLQBTest::testSelectFromLimitGet
- [ PASSED ] — PgSQLQBTest::testSelectWhereGet2
- [ PASSED ] — PgSQLQBTest::testGroup
- [ PASSED ] — PgSQLQBTest::testOrGroup
- [ PASSED ] — PgSQLQBTest::testOrNotGroup
- [ PASSED ] — PgSQLQBTest::testGroupCamelCase
- [ PASSED ] — PgSQLQBTest::testOrderBy
- [ PASSED ] — PgSQLQBTest::testOrderByRandom
- [ PASSED ] — PgSQLQBTest::testGroupBy
- [ PASSED ] — PgSQLQBTest::testOrWhere
- [ PASSED ] — PgSQLQBTest::testCountAllResults2
- [ PASSED ] — SQLiteQBTest::testQueryExplain
- [ PASSED ] — SQLiteQBTest::testFunctionGet
- [ PASSED ] — SQLiteQBTest::testHaving
- [ PASSED ] — SQLiteQBTest::testOrHaving
- [ PASSED ] — SQLiteQBTest::testSelectWhereGet
- [ PASSED ] — SQLiteQBTest::testSelectGet
- [ PASSED ] — SQLiteQBTest::testSelectFromGet
- [ PASSED ] — SQLiteQBTest::testSelectFromLimitGet
- [ PASSED ] — SQLiteQBTest::testSelectWhereGet2
- [ PASSED ] — SQLiteQBTest::testGroup
- [ PASSED ] — SQLiteQBTest::testOrGroup
- [ PASSED ] — SQLiteQBTest::testOrNotGroup
- [ PASSED ] — SQLiteQBTest::testGroupCamelCase
- [ PASSED ] — SQLiteQBTest::testOrderBy
- [ PASSED ] — SQLiteQBTest::testOrderByRandom
- [ PASSED ] — SQLiteQBTest::testGroupBy
- [ PASSED ] — SQLiteQBTest::testOrWhere
- [ PASSED ] — SQLiteQBTest::testCountAllResults2
- [ PASSED ] — FirebirdQBTest::testQueryExplain
- [ PASSED ] — FirebirdQBTest::testFunctionGet
- [ PASSED ] — FirebirdQBTest::testHaving
- [ PASSED ] — FirebirdQBTest::testOrHaving
- [ PASSED ] — FirebirdQBTest::testSelectWhereGet
- [ PASSED ] — FirebirdQBTest::testSelectGet
- [ PASSED ] — FirebirdQBTest::testSelectFromGet
- [ PASSED ] — FirebirdQBTest::testSelectFromLimitGet
- [ PASSED ] — FirebirdQBTest::testSelectWhereGet2
- [ PASSED ] — FirebirdQBTest::testGroup
- [ PASSED ] — FirebirdQBTest::testOrGroup
- [ PASSED ] — FirebirdQBTest::testOrNotGroup
- [ PASSED ] — FirebirdQBTest::testGroupCamelCase
- [ PASSED ] — FirebirdQBTest::testOrderBy
- [ PASSED ] — FirebirdQBTest::testOrderByRandom
- [ PASSED ] — FirebirdQBTest::testGroupBy
- [ PASSED ] — FirebirdQBTest::testOrWhere
- [ PASSED ] — FirebirdQBTest::testCountAllResults2