aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boost/driver.cxx2
-rw-r--r--composite/driver.cxx2
-rw-r--r--inverse/driver.cxx2
-rw-r--r--qt/driver.cxx2
-rw-r--r--relationship/driver.cxx2
-rw-r--r--schema/custom/driver.cxx2
6 files changed, 6 insertions, 6 deletions
diff --git a/boost/driver.cxx b/boost/driver.cxx
index bb1f134..6f59f90 100644
--- a/boost/driver.cxx
+++ b/boost/driver.cxx
@@ -142,7 +142,7 @@ main (int argc, char* argv[])
transaction t (db->begin ());
result r (db->query<employee> (
- query::employer::name == "Complex Systems Inc" &&
+ query::employer->name == "Complex Systems Inc" &&
query::born < date (1978, Apr, 1)));
for (result::iterator i (r.begin ()); i != r.end (); ++i)
diff --git a/composite/driver.cxx b/composite/driver.cxx
index 9c50d45..56be15d 100644
--- a/composite/driver.cxx
+++ b/composite/driver.cxx
@@ -82,7 +82,7 @@ main (int argc, char* argv[])
transaction t (db->begin ());
result r (db->query<person> (
- query::name::extras::nickname == "Squeaky"));
+ query::name.extras.nickname == "Squeaky"));
if (!r.empty ())
{
diff --git a/inverse/driver.cxx b/inverse/driver.cxx
index 4aa6bd6..3da8226 100644
--- a/inverse/driver.cxx
+++ b/inverse/driver.cxx
@@ -243,7 +243,7 @@ main (int argc, char* argv[])
transaction t (db->begin ());
result r (db->query<employee> (
- query::employer::name == "Complex Systems Inc"));
+ query::employer->name == "Complex Systems Inc"));
for (result::iterator i (r.begin ()); i != r.end (); ++i)
print (*i);
diff --git a/qt/driver.cxx b/qt/driver.cxx
index 3042b48..e15708b 100644
--- a/qt/driver.cxx
+++ b/qt/driver.cxx
@@ -159,7 +159,7 @@ main (int argc, char* argv[])
transaction t (db->begin ());
result r (db->query<Employee> (
- query::employer::name == "Complex Systems Inc" &&
+ query::employer->name == "Complex Systems Inc" &&
query::born < QDate (1978, 4, 1)));
for (result::iterator i (r.begin ()); i != r.end (); ++i)
diff --git a/relationship/driver.cxx b/relationship/driver.cxx
index ed359c1..1690d91 100644
--- a/relationship/driver.cxx
+++ b/relationship/driver.cxx
@@ -153,7 +153,7 @@ main (int argc, char* argv[])
transaction t (db->begin ());
result r (db->query<employee> (
- query::employer::name == "Complex Systems Inc"));
+ query::employer->name == "Complex Systems Inc"));
for (result::iterator i (r.begin ()); i != r.end (); ++i)
print (*i);
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)
{