ORM C++
Loading...
Searching...
No Matches
soci.cppm
Go to the documentation of this file.
1module;
2
3#include "soci/soci.h"
4#include "soci/type-conversion.h"
5#include "soci/values.h"
6
7export module orm:database_soci;
8
9// Share SOCI's full declarations across the binding partitions. The using
10// declarations expose the original global-module entities, retaining SOCI's ABI.
11export namespace soci
12{
13using ::soci::blob;
14using ::soci::dt_double;
15using ::soci::dt_integer;
16using ::soci::dt_long_long;
17using ::soci::dt_string;
18using ::soci::dt_unsigned_long_long;
19using ::soci::i_null;
20using ::soci::i_ok;
21using ::soci::indicator;
22using ::soci::into;
23using ::soci::rowset;
24using ::soci::session;
25using ::soci::soci_error;
26using ::soci::statement;
27using ::soci::transaction;
28using ::soci::use;
29using ::soci::values;
30}
31
32// The primary type_conversion template stays in its ordinary header beside the
33// specializations. Re-exporting it here duplicates MSVC's specialization lookup
34// when a consumer also includes SOCI's headers.