fixed mysql dialect configuration

This commit is contained in:
Sascha Kuehl 2024-01-14 11:14:59 +01:00
parent 4504c783e1
commit a16d3d7a21
1 changed files with 1 additions and 4 deletions

View File

@ -7,14 +7,11 @@
using namespace matador::sql;
const static dialect d = dialect_builder::builder()
.create()
.with_placeholder_func([](size_t index) {
return "$" + std::to_string(index);
})
.with_token_replace_map({
{dialect::token_t::START_QUOTE, "`"},
{dialect::token_t::END_QUOTE, "`"},
})
.with_default_schema_name("public")
.with_default_schema_name("")
.build();
return &d;
}