Legend of the Green Dragon

Zend

Contain all methods for zend-db component.

Table of Contents

$sql  : mixed
delete()  : object
Delete API.
execute()  : ResultSet
Execute a object type SQL.
expression()  : mixed
Create Laminas\Db\Sql\Predicate\Expression for uses in Zend DB.
insert()  : object
Insert API.
paginator()  : object|Paginator
Generate a paginator query.
quoteValue()  : string
Quote value for safe using in DB.
select()  : object
Select API.
sql()  : mixed
update()  : object
Update API.

Properties

$sql

protected mixed $sql

Methods

delete()

Delete API.

public delete([string|TableIdentifier|null $table = null ][, bool $prefixed = null ]) : object
Parameters
$table : string|TableIdentifier|null = null
$prefixed : bool = null
Return values
object

execute()

Execute a object type SQL.

public execute(object $object) : ResultSet
Parameters
$object : object
Return values
ResultSet

expression()

Create Laminas\Db\Sql\Predicate\Expression for uses in Zend DB.

public expression([string $expresion = null ]) : mixed
Parameters
$expresion : string = null
Return values
mixed

insert()

Insert API.

public insert([string|TableIdentifier|null $table = null ][, bool $prefixed = null ]) : object
Parameters
$table : string|TableIdentifier|null = null
$prefixed : bool = null
Return values
object

paginator()

Generate a paginator query.

public paginator(Select $select[, int $page = 1 ][, int $perpage = 25 ]) : object|Paginator
Parameters
$select : Select
$page : int = 1
$perpage : int = 25
Return values
object|Paginator

quoteValue()

Quote value for safe using in DB.

public quoteValue(string $value) : string
Parameters
$value : string
Return values
string

select()

Select API.

public select([string|array<string|int, mixed>|TableIdentifier|null $table = null ][, bool $prefixed = null ]) : object
Parameters
$table : string|array<string|int, mixed>|TableIdentifier|null = null
$prefixed : bool = null
Return values
object

sql()

public sql() : mixed
Return values
mixed

update()

Update API.

public update([string|TableIdentifier|null $table = null ][, bool $prefixed = null ]) : object
Parameters
$table : string|TableIdentifier|null = null
$prefixed : bool = null
Return values
object

Search results