Lines Matching refs:database
31 #include "utils/sqlite/database.hpp"
36 /// Creates a new gateway to an existing C++ SQLite database.
38 /// \param database_ The database to connect to. This object must remain alive
40 sqlite::database_c_gate::database_c_gate(database& database_) :
49 /// database. Only the corresponding database object controls when the SQLite 3
50 /// database is closed.
56 /// Creates a C++ database for a C SQLite 3 database.
58 /// \warning The created database object does NOT own the C database. You must
62 /// \param raw_database The raw database to wrap temporarily.
64 /// \return The wrapped database without strong ownership on the input database.
65 sqlite::database
68 return database(static_cast< void* >(raw_database), false);
72 /// Returns the C native SQLite 3 database.
74 /// \return A native sqlite3 object holding the SQLite 3 C API database.