Documentation

MySQLQuery
in package

Table of Contents

Properties

$action  : mixed
$db  : mixed
$fields  : mixed
$insert  : mixed
$joins  : mixed
$limit  : mixed
$orderBy  : mixed
$table  : mixed
$update  : mixed
$where  : mixed

Methods

__construct()  : mixed
build()  : mixed
delete()  : mixed
insert()  : mixed
join()  : mixed
limit()  : mixed
orderBy()  : mixed
select()  : mixed
update()  : mixed
where()  : mixed

Properties

$action

private mixed $action = "SELECT"

$fields

private mixed $fields = "*"

$insert

private mixed $insert = \null

$joins

private mixed $joins = []

$limit

private mixed $limit = \null

$orderBy

private mixed $orderBy = \null

$update

private mixed $update = \null

$where

private mixed $where = \null

Methods

build()

public build() : mixed

delete()

public delete() : mixed

insert()

public insert(mixed $insert) : mixed
Parameters
$insert : mixed

join()

public join(mixed $table, mixed $on[, mixed $type = "LEFT" ]) : mixed
Parameters
$table : mixed
$on : mixed
$type : mixed = "LEFT"

limit()

public limit(mixed $limit) : mixed
Parameters
$limit : mixed

orderBy()

public orderBy(mixed $field[, mixed $direction = "ASC" ]) : mixed
Parameters
$field : mixed
$direction : mixed = "ASC"

select()

public select([mixed $fields = "*" ]) : mixed
Parameters
$fields : mixed = "*"

update()

public update(mixed $update) : mixed
Parameters
$update : mixed

where()

public where(mixed $field, mixed $value[, mixed $operator = "=" ]) : mixed
Parameters
$field : mixed
$value : mixed
$operator : mixed = "="

        
On this page

Search results