aboutsummaryrefslogtreecommitdiff
path: root/schema/custom/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'schema/custom/driver.cxx')
-rw-r--r--schema/custom/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/schema/custom/driver.cxx b/schema/custom/driver.cxx
index 1ca563c..9d049ed 100644
--- a/schema/custom/driver.cxx
+++ b/schema/custom/driver.cxx
@@ -150,7 +150,7 @@ main (int argc, char* argv[])
session s;
transaction t (db->begin ());
- result r (db->query<employee> (query::name::last == "Doe"));
+ result r (db->query<employee> (query::name.last == "Doe"));
for (result::iterator i (r.begin ()); i != r.end (); ++i)
{