Overview

Namespaces

  • zsql
  • PHP

Classes

  • Database
  • Delete
  • Expression
  • ExtendedQuery
  • Insert
  • Model
  • Query
  • Result
  • Select
  • Update

Exceptions

  • Exception
  • Overview
  • Namespace
  • Class
  • Tree

Class Update

Update query generator

zsql\Query
Extended by zsql\ExtendedQuery
Extended by zsql\Update
Namespace: zsql
Located at zsql/Update.php
Methods summary
protected
# assemble( )

Assemble parts

Assemble parts

public zsql\Update
# set( mixed $key, mixed $value = null )

Alias for zsql\Update::value() or zsql\Update::values()

Alias for zsql\Update::value() or zsql\Update::values()

Parameters

$key
mixed
$key
$value
mixed
$value

Returns

zsql\Update
public zsql\Update
# update( string $table, array $values = null )

Alias for zsql\Query::table() and zsql\Update::values()

Alias for zsql\Query::table() and zsql\Update::values()

Parameters

$table
string
$table
$values
array
$values

Returns

zsql\Update
public zsql\Update
# value( mixed $key, mixed $value = null )

Set a value

Set a value

Parameters

$key
mixed
$key
$value
mixed
$value

Returns

zsql\Update
public zsql\Update
# values( array $values )

Set values

Set values

Parameters

$values
array
$values

Returns

zsql\Update
Methods inherited from zsql\ExtendedQuery
group(), limit(), offset(), order(), pushGroup(), pushLimit(), pushOrder(), pushWhere(), where(), whereExpr(), whereIn()
Methods inherited from zsql\Query
__construct(), __toString(), interpolateParams(), interpolation(), params(), parts(), push(), pushTable(), pushValues(), query(), quoteIdentifier(), quoteIdentifierIfNotExpression(), setQuoteCallback(), table(), toString()
Properties summary
protected array $values
#

Values

Values

Properties inherited from zsql\ExtendedQuery
$direction, $group, $limit, $offset, $order, $where
Properties inherited from zsql\Query
$database, $interpolation, $params, $parts, $query, $queryCallback, $quoteCallback, $quoteChar, $quoteIdentifierChar, $table
API documentation generated by ApiGen 2.8.0