From 9208de71c16ce8d676f9da1b71020c12384018c9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 8 Feb 2013 18:21:32 +0200 Subject: Add schema_catalog::exists() function --- common/schema/embedded/basics/test.hxx | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 common/schema/embedded/basics/test.hxx (limited to 'common/schema/embedded/basics/test.hxx') diff --git a/common/schema/embedded/basics/test.hxx b/common/schema/embedded/basics/test.hxx new file mode 100644 index 0000000..99e1aac --- /dev/null +++ b/common/schema/embedded/basics/test.hxx @@ -0,0 +1,24 @@ +// file : common/schema/embedded/basics/test.hxx +// copyright : Copyright (c) 2009-2012 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef TEST_HXX +#define TEST_HXX + +#include +#include + +#include + +#pragma db object +struct object +{ + #pragma db auto id + unsigned long id; + + std::string str; + + std::vector nums; +}; + +#endif // TEST_HXX -- cgit v1.1