fixed mysql dialect configuration
This commit is contained in:
parent
4504c783e1
commit
a16d3d7a21
|
|
@ -7,14 +7,11 @@
|
||||||
using namespace matador::sql;
|
using namespace matador::sql;
|
||||||
const static dialect d = dialect_builder::builder()
|
const static dialect d = dialect_builder::builder()
|
||||||
.create()
|
.create()
|
||||||
.with_placeholder_func([](size_t index) {
|
|
||||||
return "$" + std::to_string(index);
|
|
||||||
})
|
|
||||||
.with_token_replace_map({
|
.with_token_replace_map({
|
||||||
{dialect::token_t::START_QUOTE, "`"},
|
{dialect::token_t::START_QUOTE, "`"},
|
||||||
{dialect::token_t::END_QUOTE, "`"},
|
{dialect::token_t::END_QUOTE, "`"},
|
||||||
})
|
})
|
||||||
.with_default_schema_name("public")
|
.with_default_schema_name("")
|
||||||
.build();
|
.build();
|
||||||
return &d;
|
return &d;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue