added sqlite connection class (progress)

This commit is contained in:
2023-11-09 19:48:29 +01:00
parent 715f4dff8f
commit 8b5859d858
13 changed files with 227 additions and 25 deletions
+11
View File
@@ -0,0 +1,11 @@
#include "sqlite_dialect.hpp"
[[maybe_unused]] const matador::sql::dialect* get_dialect() {
using namespace matador::sql;
static dialect d {{
{ dialect::token_t::BEGIN, "BEGIN TRANSACTION"},
{ dialect::token_t::COMMIT, "COMMIT TRANSACTION"},
{ dialect::token_t::ROLLBACK, "ROLLBACK TRANSACTION"}
}};
return &d;
}