112 void OralFKeyTest::testBasicFKeys ()
116 auto student = Util::oral::AdaptPtr<Student, OralFactory> (
db);
117 auto studentInfo = Util::oral::AdaptPtr<StudentInfo, OralFactory> (
db);
121 { { 0,
"Student 1" }, { 0, 0, 18, 1 } },
122 { { 0,
"Student 2" }, { 0, 0, 19, 1 } },
123 { { 0,
"Student 3" }, { 0, 0, 19, 2 } },
133 namespace sph = oral::sph;
135 const auto&
selected =
student->Select (sph::f<&Student::ID_> == sph::f<&StudentInfo::StudentID_> &&
136 sph::f<&StudentInfo::Age_> > 18);