Lines Matching refs:database
33 #include "utils/sqlite/database.hpp"
40 /// Creates a new gateway to an existing C++ SQLite database.
42 /// \param database_ The database to connect to. This object must remain alive
44 sqlite::database_c_gate::database_c_gate(database& database_) :
53 /// database. Only the corresponding database object controls when the SQLite 3
54 /// database is closed.
60 /// Creates a C++ database for a C SQLite 3 database.
62 /// \warning The created database object does NOT own the C database. You must
66 /// \param raw_database The raw database to wrap temporarily.
68 /// \return The wrapped database without strong ownership on the input database.
69 sqlite::database
72 return database(none, static_cast< void* >(raw_database), false);
76 /// Returns the C native SQLite 3 database.
78 /// \return A native sqlite3 object holding the SQLite 3 C API database.