Lightweight 0.20260303.0
Loading...
Searching...
No Matches
Lightweight::MigrationRenderContext::ColumnKey Struct Reference

#include <MigrationPlan.hpp>

Public Member Functions

auto operator<=> (ColumnKey const &) const =default
 Total ordering on (schema, table, column) — defaulted three-way comparison.
 

Public Attributes

std::string schema
 Schema label (empty for engines without schemas, e.g. SQLite).
 
std::string table
 Table name.
 
std::string column
 

Detailed Description

Per-(schema, table, column) cache of declared character widths. Populated lazily from SqlCreateTablePlan / SqlAlterTablePlan as they are rendered; the key is (schema, table, column). A zero/absent entry means "no known width" and the truncation layer leaves the value alone.

Definition at line 585 of file MigrationPlan.hpp.

Member Data Documentation

◆ schema

std::string Lightweight::MigrationRenderContext::ColumnKey::schema

Schema label (empty for engines without schemas, e.g. SQLite).

Definition at line 587 of file MigrationPlan.hpp.

◆ table

std::string Lightweight::MigrationRenderContext::ColumnKey::table

Table name.

Definition at line 588 of file MigrationPlan.hpp.

◆ column

std::string Lightweight::MigrationRenderContext::ColumnKey::column

Column name.

Definition at line 589 of file MigrationPlan.hpp.


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