From 3f115334f63a88c580bfb0997d6663e1a5801d8e Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 8 Feb 2010 19:35:39 +0000 Subject: #702514 by foripepe and mr.baileys: Fixed Documentation problem with Database abstraction layer. --- includes/database/database.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/database/database.inc b/includes/database/database.inc index 39bba8e6c..d30fab1bc 100644 --- a/includes/database/database.inc +++ b/includes/database/database.inc @@ -112,7 +112,7 @@ * one would instead write: * @code * $fields = array('nid' => 1, 'title' => 'my title', 'body' => 'my body'); - * db_insert('my_table')->fields($fields)->execute(); + * db_insert('node')->fields($fields)->execute(); * @endcode * This method allows databases that need special data type handling to do so, * while also allowing optimizations such as multi-insert queries. UPDATE and -- cgit v1.2.3