aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--doc/manual.xhtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index e3fb145..548774e 100644
--- a/NEWS
+++ b/NEWS
@@ -2,7 +2,7 @@ Version 2.4.0
* Support for object loading views. Object loading views allow loading of
one or more complete objects instead of, or in addition to, a subset of
- data member and with a single SELECT statement execution. For details,
+ data members and with a single SELECT statement execution. For details,
refer to Section 10.2, "Object Loading Views" in the ODB manual.
* Support for bulk operations in Oracle and SQL Server. Bulk operations
diff --git a/doc/manual.xhtml b/doc/manual.xhtml
index e28f916..24768ad 100644
--- a/doc/manual.xhtml
+++ b/doc/manual.xhtml
@@ -10387,7 +10387,7 @@ struct employer_view
employ seniors:</p>
<pre class="cxx">
-typedef odb::query&lt;employee_employer> query;
+typedef odb::query&lt;employer_view> query;
db.query&lt;employer_view> (query::employee::age > 65)
</pre>