src/ORM/Queries/SQLSelect.php
public static function create(
        $select = "*",
        $from = array(),
        $where = array(),
        $orderby = array(),
        $groupby = array(),
        $having = array(),
        $limit = array()
    ) {
        return Injector::inst()->createWithArgs(__CLASS__, func_get_args());
    }
public static function create(
        $select = "*",
        $from = array(),
        $where = array(),
        $orderby = array(),
        $groupby = array(),
        $having = array(),
        $limit = array()
    ) {
        return Injector::inst()->createWithArgs(__CLASS__, func_get_args());
    }
public static function create ( $ select = "*" , $ from = array ( ) , $ where = array ( ) , $ orderby = array ( ) , $ groupby = array ( ) , $ having = array ( ) , $ limit = array ( ) ) { return Injector :: inst ( ) -> createWithArgs ( __CLASS__ , func_get_args ( ) ) ; }
Construct a new SQLSelect.

@param array|string $select An array of SELECT fields.
@param array|string $from An array of FROM clauses. The first one should be just the table name.
Each should be ANSI quoted.
@param array $where An array of WHERE clauses.
@param array $orderby An array ORDER BY clause.
@param array $groupby An array of GROUP BY clauses.
@param array $having An array of HAVING clauses.
@param array|string $limit A LIMIT clause or array with limit and offset keys
@return static
Construct a new SQLSelect .