QueryBuilder

Extends \Core\Orm\QueryBuilder\QueryBuilderAbstract

package

Default

Methods

Class Constructor

__construct() 
inherited

Execute Query

execute() : \PDOStatement
inherited

Response

\PDOStatement

FetchAll method

fetchAll() : array
inherited

Response

array

FetchRow method

fetchRow() : mixed
inherited

Response

mixed

From call

from(string $table, array $columns = null) : $this

Arguments

$table

string

Table name

$columns

array

Array with columns

Response

$this

Group call

group(string $column) : $this

Arguments

$column

string

Response

$this

Join call

join(string $table, string $joinCondition, array $columns = null) : $this

Arguments

$table

string

$joinCondition

string

$columns

array

Response

$this

Limit call

limit(integer $limit,  $offset = null) : $this

Arguments

$limit

integer

$offset

Response

$this

Make Query

makeQuery() : array
inherited

Response

array

Order call

order(array $order) : $this

Arguments

$order

array

Response

$this

orWhere call

orWhere(array $where) : $this

Arguments

$where

array

Response

$this

Query call

query(string $query) : $this

Arguments

$query

string

Response

$this

Where call

where(array $where) : $this

Arguments

$where

array

Response

$this

Properties

db

db : 
inherited

Type(s)

q

q : 
inherited

Type(s)