VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
Migrator.hpp File Reference
#include <VoltMod/Core/Result.hpp>
#include <VoltMod/Database/Driver.hpp>
#include <algorithm>
#include <charconv>
#include <cstdint>
#include <format>
#include <optional>
#include <string>
#include <string_view>
#include <vector>

Go to the source code of this file.

Classes

struct  VoltMod::MigrationOptions
 
struct  VoltMod::MigrationResult
 
struct  VoltMod::Dialect
 The DDL spellings the three drivers disagree on, one per migration placeholder. More...
 

Namespaces

namespace  VoltMod
 

Functions

std::optional< int > VoltMod::ParseMigrationVersion (std::string_view filename)
 
Dialect VoltMod::DialectFor (Driver driver)
 
Result< std::string > VoltMod::ResolveDialect (std::string_view sql, Driver driver)
 
std::vector< std::string > VoltMod::SplitStatements (std::string_view sql)