// file : sqlite/attach/test.hxx // license : GNU GPL v2; see accompanying LICENSE file #ifndef TEST_HXX #define TEST_HXX #include #include #include #include #pragma db object struct object { explicit object (const std::string& s): str (s) {} #pragma db id auto unsigned long id; #pragma db unique std::string str; private: object () {} friend class odb::access; }; #endif // TEST_HXX