Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 613 Bytes

Raw.md

File metadata and controls

23 lines (15 loc) · 613 Bytes

Used in Insert and Update statements.

Used by Conditional clauses.

Constructor

__construct(string $sql)

Parameter Description
$sql Raw SQL string to use

Example

use FaaPz\PDO\Clause\Conditional;
use FaaPz\PDO\Clause\Raw;

// ... WHERE col = MAX(1, 2)
$statement->where(new Conditional('col', '=', new Raw("MAX(1, 2)")));