SQT
A C++ ORM framework for SQLite
Loading...
Searching...
No Matches

#include <sqt/orm/querier/deleter/deleter.h>

Inheritance diagram for sqt::Deleter< ENTITY >:

Description

template<EntityValueType ENTITY>
class sqt::Deleter< ENTITY >

A primary deleter that deletes entities from the table.

Template Parameters
ENTITYThe entity type that the deleter deletes. It must satisfy the sqt::EntityValueType concept.

This primary deleter deletes entities from the table without any conditions.

To create instances of this deleter, use the sqt::DataContext::MakeDeleter() method.

This class template satisfies the sqt::QuerierType concept.

See also
sqt::DataContext<>::MakeDeleter()
sqt::EntityValueType
sqt::QuerierType

Static Public Member Functions

static std::string_view BuildSQL ()
static constexpr auto BuildPlaceholderBinders () noexcept

Public Member Functions

constexpr void BindInlineParameters (Statement &) const noexcept
Public Member Functions inherited from sqt::WhereCapability< Deleter< ENTITY > >
constexpr auto Where (PREDICATE &&predicate) const

Static Public Attributes

static constexpr std::size_t ParameterIndex = 1
static constexpr std::size_t ParameterCount = 0