VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::Dialect Struct Reference

The DDL spellings the three drivers disagree on, one per migration placeholder. More...

#include <Migrator.hpp>

Public Attributes

std::string_view AutoIncrementKey
 @ID@
std::string_view EpochNow
 @NOW@
std::string_view True
 @TRUE@
std::string_view False
 @FALSE@
std::string_view InsertIfAbsent
 @INSERT_IF_ABSENT@
bool NeedsConflictClause

Detailed Description

The DDL spellings the three drivers disagree on, one per migration placeholder.

The set is closed: anything beyond it belongs in a driver-specific migration.

Definition at line 58 of file Migrator.hpp.

Member Data Documentation

◆ AutoIncrementKey

std::string_view VoltMod::Dialect::AutoIncrementKey

@ID@

Definition at line 60 of file Migrator.hpp.

Referenced by VoltMod::ResolveDialect().

◆ EpochNow

std::string_view VoltMod::Dialect::EpochNow

@NOW@

Definition at line 61 of file Migrator.hpp.

Referenced by VoltMod::ResolveDialect().

◆ False

std::string_view VoltMod::Dialect::False

@FALSE@

Definition at line 63 of file Migrator.hpp.

Referenced by VoltMod::ResolveDialect().

◆ InsertIfAbsent

std::string_view VoltMod::Dialect::InsertIfAbsent

@INSERT_IF_ABSENT@

Definition at line 64 of file Migrator.hpp.

Referenced by VoltMod::ResolveDialect().

◆ NeedsConflictClause

bool VoltMod::Dialect::NeedsConflictClause

Whether @ON_CONFLICT(cols)@ renders. Postgres puts it at the end of the statement; the others carry the same meaning in their INSERT verb.

Definition at line 67 of file Migrator.hpp.

Referenced by VoltMod::ResolveDialect().

◆ True

std::string_view VoltMod::Dialect::True

@TRUE@

Definition at line 62 of file Migrator.hpp.

Referenced by VoltMod::ResolveDialect().


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