diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-07-26 08:47:25 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-07-26 08:47:25 +0200 |
commit | 59e1be91b58c5d8591fcfa0b103ac6ed167a45fe (patch) | |
tree | 071bf02283d19633de673db29e9fb01938d2f4db /pgsql/savepoint/test.hxx | |
parent | cc08639dd0da91a8be97f883cf8b90c757f79071 (diff) |
Release version 2.5.0-b.23v2.5.0-b.23
Diffstat (limited to 'pgsql/savepoint/test.hxx')
-rw-r--r-- | pgsql/savepoint/test.hxx | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pgsql/savepoint/test.hxx b/pgsql/savepoint/test.hxx new file mode 100644 index 0000000..7e01992 --- /dev/null +++ b/pgsql/savepoint/test.hxx @@ -0,0 +1,27 @@ +// 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(100) +struct object +{ + object (unsigned long id) + : id_ (id) + { + } + + object () + { + } + + #pragma db id + unsigned long id_; +}; + +#endif // TEST_HXX |