#include "DeleteStatementBuilder.h" namespace db { namespace statements { namespace builder { DeleteStatementBuilder &DeleteStatementBuilder::table(const std::string &table) { m_statement.body = "DELETE FROM " + table; return *this; } DeleteStatementBuilder &DeleteStatementBuilder::where(const std::string &where) { m_statement.body += " WHERE " + where; return *this; } DeleteStatementBuilder &DeleteStatementBuilder::close() { m_statement.body += ";\n"; return *this; } } } }