aboutsummaryrefslogtreecommitdiff
path: root/pgsql/bulk/test.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'pgsql/bulk/test.hxx')
-rw-r--r--pgsql/bulk/test.hxx34
1 files changed, 34 insertions, 0 deletions
diff --git a/pgsql/bulk/test.hxx b/pgsql/bulk/test.hxx
new file mode 100644
index 0000000..25dd138
--- /dev/null
+++ b/pgsql/bulk/test.hxx
@@ -0,0 +1,34 @@
+// file : pgsql/savepoint/test.hxx
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#ifndef TEST_HXX
+#define TEST_HXX
+
+#include <string>
+
+#include <odb/core.hxx>
+
+#pragma db object bulk(1000)
+struct object
+{
+ /*
+ object (unsigned long id)
+ : id_ (id)
+ {
+ }
+
+ object ()
+ {
+ }
+ */
+
+ #pragma db id //auto
+ unsigned long id;
+
+ unsigned long idata;
+
+ //#pragma db
+ std::string sdata;
+};
+
+#endif // TEST_HXX