summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-02-08 19:35:39 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-02-08 19:35:39 +0000
commit3f115334f63a88c580bfb0997d6663e1a5801d8e (patch)
tree5ee00391d34b8d0af438fdfcffa7dac1a37de717
parent4016493b0a9e01319b96d9ae3bcc2ba0b3b6cf37 (diff)
downloadbrdo-3f115334f63a88c580bfb0997d6663e1a5801d8e.tar.gz
brdo-3f115334f63a88c580bfb0997d6663e1a5801d8e.tar.bz2
#702514 by foripepe and mr.baileys: Fixed Documentation problem with Database abstraction layer.
-rw-r--r--includes/database/database.inc2
1 files changed, 1 insertions, 1 deletions
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