1
0
mirror of synced 2025-01-29 19:41:45 +03:00

Small documentation issues, insert query which hadn't had a value, reference to an example above should be below

Ticket: 656
This commit is contained in:
airox 2007-12-08 13:44:59 +00:00
parent 4275c6656f
commit 014b18f4f6

View File

@ -214,7 +214,7 @@ $event->save();
The last line would execute sql (in sqlite):
<code>
INSERT INTO event (name, timepoint) VALUES (?, 'NOW()')
INSERT INTO event (name, timepoint) VALUES ('Rock festival', 'NOW()')
</code>
+++ Getting record state
@ -510,7 +510,7 @@ foreach($users as $user) {
}
</code>
The example above shows how to do this more efficiently by using the DQL API.
The example below shows how to do this more efficiently by using the DQL API.
<code type="php">
// load everything here