PHP Class Pop\Db\Sql\Update

Author: Nick Sagona, III ([email protected])
Inheritance: extends AbstractSql
Show file Open project: nicksagona/PopPHP

Protected Properties

Property Type Description
$where Predicate WHERE predicate object

Public Methods

Method Description
render ( ) : string Render the UPDATE statement
where ( boolean $reset = false ) : Predicate Set the WHERE clause

Method Details

render() public method

Render the UPDATE statement
public render ( ) : string
return string

where() public method

Set the WHERE clause
public where ( boolean $reset = false ) : Predicate
$reset boolean
return Predicate

Property Details

$where protected property

WHERE predicate object
protected Predicate,Pop\Db\Sql $where
return Predicate