added postgres backend
This commit is contained in:
@@ -16,6 +16,10 @@ sqlite_connection::sqlite_connection(const sql::connection_info &info)
|
||||
|
||||
void sqlite_connection::open()
|
||||
{
|
||||
if (is_open()) {
|
||||
return;
|
||||
}
|
||||
|
||||
const auto ret = sqlite3_open(info().database.c_str(), &sqlite_db_);
|
||||
|
||||
if (ret != SQLITE_OK) {
|
||||
|
||||
Reference in New Issue
Block a user