aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-04-28 17:45:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-04-28 17:45:09 +0200
commit8e1fc42b429e8023335b1d9ae9ccb780527300f4 (patch)
treee716bca18e3a1d99f0ec2ba5ee1bebcc1f9c43b5
parent34286111363ca14aae81d50ab16732627425ef72 (diff)
Fix typos
-rw-r--r--doc/manual.xhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual.xhtml b/doc/manual.xhtml
index c32cc37..73e5f7e 100644
--- a/doc/manual.xhtml
+++ b/doc/manual.xhtml
@@ -3367,7 +3367,7 @@ typedef odb::query&lt;person> query;
transaction t (db.begin ());
-db.erase_query&lt;person> (query::last == "Doe" &amp;&amp; query::are &lt; 30);
+db.erase_query&lt;person> (query::last == "Doe" &amp;&amp; query::age &lt; 30);
t.commit ();
</pre>
@@ -4195,7 +4195,7 @@ find_minors (database&amp; db, const query&amp; name_query)
return db.query&lt;person> (name_query &amp;&amp; query::age &lt; 18);
}
-result r (find_underage (db, query::first == "John"));
+result r (find_minors (db, query::first == "John"));
</pre>
<h2><a name="4.4">4.4 Query Result</a></h2>