diff options
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown index 971e685..419d9ab 100644 --- a/README.markdown +++ b/README.markdown @@ -521,6 +521,12 @@ Some database adapters require (or allow) an array of driver-specific configurat ORM::configure('driver_options', array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8')); +To delete more than one object from the database, build a query: + + $person = ORM::for_table('person') + ->where_equal('zipcode', 55555) + ->delete_many(); + #### PDO Error Mode #### |