Lightweight 0.20250904.0
Loading...
Searching...
No Matches
Lightweight::SqlDeleteQueryBuilder Class Referencefinal

Query builder for building DELETE FROM ... queries. More...

#include <Delete.hpp>

Inherits SqlWhereClauseBuilder< SqlDeleteQueryBuilder >.

Public Member Functions

 SqlDeleteQueryBuilder (SqlQueryFormatter const &formatter, std::string table, std::string tableAlias) noexcept
 
SqlSearchCondition & SearchCondition () noexcept
 
SqlQueryFormatter const & Formatter () const noexcept
 
std::string ToSql () const
 

Detailed Description

Query builder for building DELETE FROM ... queries.

Definition at line 15 of file Delete.hpp.

Constructor & Destructor Documentation

◆ SqlDeleteQueryBuilder()

Lightweight::SqlDeleteQueryBuilder::SqlDeleteQueryBuilder ( SqlQueryFormatter const &  formatter,
std::string  table,
std::string  tableAlias 
)
inlineexplicitnoexcept

Definition at line 18 of file Delete.hpp.

Member Function Documentation

◆ SearchCondition()

SqlSearchCondition & Lightweight::SqlDeleteQueryBuilder::SearchCondition ( )
inlinenoexcept

Definition at line 26 of file Delete.hpp.

◆ Formatter()

SqlQueryFormatter const & Lightweight::SqlDeleteQueryBuilder::Formatter ( ) const
inlinenoexcept

Definition at line 31 of file Delete.hpp.

◆ ToSql()

LIGHTWEIGHT_FORCE_INLINE std::string Lightweight::SqlDeleteQueryBuilder::ToSql ( ) const
inline

Definition at line 44 of file Delete.hpp.


The documentation for this class was generated from the following file: