From 7e09329a81a1859d049a0fe16ef5b879fd83b72d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 19 Nov 2014 11:51:17 +0200 Subject: Implement bulk API code generation --- bulk/person.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bulk/person.hxx') diff --git a/bulk/person.hxx b/bulk/person.hxx index ac7a66b..177d4ce 100644 --- a/bulk/person.hxx +++ b/bulk/person.hxx @@ -8,13 +8,14 @@ #include -#pragma db object +#pragma db object bulk(3) class person { public: #pragma db id auto unsigned long id; + #pragma db unique unsigned int num; #ifdef ODB_DATABASE_MSSQL -- cgit v1.1