myTinySQL v0.2.0-2-g5000098
A tiny SQL interpreter over fixed-width text files
Loading...
Searching...
No Matches
Public Attributes | List of all members
tinysql::ColumnDefinition Struct Reference

One column of a CREATE TABLE: <name> CHAR(<width>) or <name> NUMBER(<width>). More...

#include <Statement.hpp>

Public Attributes

std::string name
 The column name.
 
std::string type
 S1 for CHAR, N1 for NUMBER: the codes SYSTEM_TABLE records.
 
std::size_t width
 Number of characters the column occupies in every row.
 

Detailed Description

One column of a CREATE TABLE: <name> CHAR(<width>) or <name> NUMBER(<width>).

Definition at line 73 of file Statement.hpp.

Member Data Documentation

◆ name

std::string tinysql::ColumnDefinition::name

The column name.

Definition at line 74 of file Statement.hpp.

◆ type

std::string tinysql::ColumnDefinition::type

S1 for CHAR, N1 for NUMBER: the codes SYSTEM_TABLE records.

Definition at line 75 of file Statement.hpp.

◆ width

std::size_t tinysql::ColumnDefinition::width

Number of characters the column occupies in every row.

Definition at line 76 of file Statement.hpp.


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