summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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<person> query;
transaction t (db.begin ());
-db.erase_query<person> (query::last == "Doe" && query::are < 30);
+db.erase_query<person> (query::last == "Doe" && query::age < 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>