Ouzo\Db\Query::select PHP Méthode

select() public static méthode

public static select ( $selectColumns = null )
    public static function select($selectColumns = null)
    {
        $query = new Query();
        $query->selectColumns = $selectColumns;
        return $query;
    }

Usage Example

Exemple #1
0
 /**
  * @group non-sqlite3
  * @test
  */
 public function selectShouldNotLockForUpdateByDefault()
 {
     // when
     $query = Query::select();
     // then
     $this->assertFalse($query->lockForUpdate);
 }
All Usage Examples Of Ouzo\Db\Query::select