From 74089b2e80614f65112d812470b0959909e37682 Mon Sep 17 00:00:00 2001 From: Eric Barnes Date: Mon, 21 Mar 2011 21:03:04 -0400 Subject: Fixed wording when inserting object via active record. Fixes: #143 --- user_guide/database/active_record.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide/database') diff --git a/user_guide/database/active_record.html b/user_guide/database/active_record.html index 812deb90c..dc06c87be 100644 --- a/user_guide/database/active_record.html +++ b/user_guide/database/active_record.html @@ -517,7 +517,7 @@ $this->db->insert('mytable', $object);

// Produces: INSERT INTO mytable (title, content, date) VALUES ('My Title', 'My Content', 'My Date') -

The first parameter will contain the table name, the second is an associative array of values.

+

The first parameter will contain the table name, the second is an object.

Note: All values are escaped automatically producing safer queries.

-- cgit v1.2.3-24-g4f1b