17 std::string tableAlias)
noexcept:
19 m_formatter { formatter }
21 m_searchCondition.tableName = std::move(table);
22 m_searchCondition.tableAlias = std::move(tableAlias);
25 SqlSearchCondition& SearchCondition()
noexcept
27 return m_searchCondition;
36 [[nodiscard]] std::string
ToSql()
const;
40 SqlSearchCondition m_searchCondition;
43inline LIGHTWEIGHT_FORCE_INLINE std::string SqlDeleteQueryBuilder::ToSql()
const
45 return m_formatter.
Delete(m_searchCondition.tableName,
46 m_searchCondition.tableAlias,
47 m_searchCondition.tableJoins,
48 m_searchCondition.condition);
Query builder for building DELETE FROM ... queries.
LIGHTWEIGHT_API std::vector< std::string > ToSql(SqlQueryFormatter const &formatter, SqlMigrationPlanElement const &element)