Lightweight 0.20261105.1
Loading...
Searching...
No Matches
Lightweight::SqlBackup::TableInfo Struct Reference

Information about a table being backed up. More...

#include <SqlBackup.hpp>

Public Attributes

std::string fields
 The list of columns in the table in SQL format.
 
std::vector< bool > isBinaryColumn
 The list of columns in the table.
 
std::vector< SqlColumnDeclaration > columns
 The list of columns in the table.
 
std::vector< SqlSchema::ForeignKeyConstraint > foreignKeys
 The list of foreign key constraints in the table.
 
std::vector< SqlSchema::IndexDefinition > indexes
 The indexes on the table (excluding primary key index).
 
size_t rowCount = 0
 The number of rows in the table.
 
std::string name
 The table's name in the database.
 
std::string schema
 

Detailed Description

Information about a table being backed up.

Definition at line 165 of file SqlBackup.hpp.

Member Data Documentation

◆ fields

std::string Lightweight::SqlBackup::TableInfo::fields

The list of columns in the table in SQL format.

Definition at line 168 of file SqlBackup.hpp.

◆ isBinaryColumn

std::vector<bool> Lightweight::SqlBackup::TableInfo::isBinaryColumn

The list of columns in the table.

Definition at line 171 of file SqlBackup.hpp.

◆ columns

std::vector<SqlColumnDeclaration> Lightweight::SqlBackup::TableInfo::columns

The list of columns in the table.

Definition at line 174 of file SqlBackup.hpp.

◆ foreignKeys

std::vector<SqlSchema::ForeignKeyConstraint> Lightweight::SqlBackup::TableInfo::foreignKeys

The list of foreign key constraints in the table.

Definition at line 177 of file SqlBackup.hpp.

◆ indexes

std::vector<SqlSchema::IndexDefinition> Lightweight::SqlBackup::TableInfo::indexes

The indexes on the table (excluding primary key index).

Definition at line 180 of file SqlBackup.hpp.

◆ rowCount

size_t Lightweight::SqlBackup::TableInfo::rowCount = 0

The number of rows in the table.

Definition at line 183 of file SqlBackup.hpp.

◆ name

std::string Lightweight::SqlBackup::TableInfo::name

The table's name in the database.

Definition at line 186 of file SqlBackup.hpp.

◆ schema

std::string Lightweight::SqlBackup::TableInfo::schema

The table's schema as a multi-schema archive records it; empty for a single-schema archive, whose tables all go into the schema the restore targets.

Definition at line 190 of file SqlBackup.hpp.


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