Author: dr
Date: Wed Jan 23 09:51:02 2008
New Revision: 7235

Log:
- Fixed example.

Modified:
    trunk/Database/docs/tutorial_example_06.php

Modified: trunk/Database/docs/tutorial_example_06.php
==============================================================================
--- trunk/Database/docs/tutorial_example_06.php [iso-8859-1] (original)
+++ trunk/Database/docs/tutorial_example_06.php [iso-8859-1] Wed Jan 23 
09:51:02 2008
@@ -22,7 +22,7 @@
 // delete
 $q = $db->createDeleteQuery();
 $q->deleteFrom( 'quotes' )
-  ->where( $q->expr->eq( $q->bindValue( 'Robert Foster' ) ) );
+  ->where( $q->expr->eq( 'name', $q->bindValue( 'Robert Foster' ) ) );
 $stmt = $q->prepare();
 $stmt->execute();
 ?>


-- 
svn-components mailing list
svn-components@lists.ez.no
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to