aboutsummaryrefslogtreecommitdiff
path: root/pgsql/bulk/test.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-07-26 08:47:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-07-26 08:47:25 +0200
commit59e1be91b58c5d8591fcfa0b103ac6ed167a45fe (patch)
tree071bf02283d19633de673db29e9fb01938d2f4db /pgsql/bulk/test.hxx
parentcc08639dd0da91a8be97f883cf8b90c757f79071 (diff)
Release version 2.5.0-b.23v2.5.0-b.23
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