Merge pull request #5039 from thezenmonkey/patch-2

FIX "where" method in SQLUpdate Example
This commit is contained in:
Damian Mooyman 2016-02-16 09:23:27 +13:00
commit ace7f2cb2e

View File

@ -165,7 +165,7 @@ E.g.
:::php :::php
<?php <?php
$update = SQLUpdate::create('"SiteTree"')->where(array('ID' => 3)); $update = SQLUpdate::create('"SiteTree"')->addWhere(array('ID' => 3));
// assigning a list of items // assigning a list of items
$update->addAssignments(array( $update->addAssignments(array(