29 return "INSERT OR IGNORE"_ct;
37 template<
auto... Ptrs>
60 return "ON CONFLICT DO UPDATE SET " +
JoinTup (
ZipWith (fields,
" = EXCLUDED.", fields),
", ");
65 return "RETURNING "_ct + pkName;
70 return "RETURNING "_ct + pkName;
75 return "ON CONFLICT DO UPDATE SET " +
JoinTup (
ZipWith (fields,
" = EXCLUDED.", fields),
", ") +
76 " RETURNING " + pkName;
detail::SQLite::ImplFactory SQLiteImplFactory
constexpr auto JoinTup(auto &&stringsTuple, auto &&sep) noexcept
constexpr auto ZipWith(Tup1 &&tup1, auto &&sep, Tup2 &&tup2) noexcept
static constexpr CtString Binary
static constexpr CtString IntAutoincrement
static constexpr auto GetInsertSuffix(InsertAction::IgnoreTag)
static constexpr CtString LimitNone
static constexpr auto GetInsertPrefix(InsertAction::DefaultTag)
static constexpr auto GetInsertSuffix(InsertAction::Replace, auto fields)
static constexpr auto GetInsertSuffix(InsertAction::DefaultTag, auto pkName)
static constexpr auto GetInsertPrefix(InsertAction::IgnoreTag)
static constexpr auto GetInsertSuffix(InsertAction::DefaultTag)
static constexpr auto GetInsertSuffix(InsertAction::IgnoreTag, auto pkName)
static constexpr auto GetInsertPrefix(InsertAction::Replace::FieldsType< Ptrs... >)
static constexpr auto GetInsertPrefix(InsertAction::Replace::WholeType)
static constexpr auto GetInsertSuffix(InsertAction::Replace, auto fields, auto pkName)