GnuCash  5.6-150-g038405b370+
Public Member Functions | Data Fields
GncSqlColumnInfo Struct Reference

information required to create a column in a table. More...

#include <gnc-sql-column-table-entry.hpp>

Public Member Functions

 GncSqlColumnInfo (std::string &&name, GncSqlBasicColumnType type, unsigned int size=0, bool unicode=false, bool autoinc=false, bool primary=false, bool not_null=false)
 
 GncSqlColumnInfo (const GncSqlColumnTableEntry &e, GncSqlBasicColumnType t, unsigned int size=0, bool unicode=true)
 

Data Fields

std::string m_name
 Column name.
 
GncSqlBasicColumnType m_type
 Column basic type.
 
unsigned int m_size
 Column size (string types)
 
bool m_unicode
 Column is unicode (string types)
 
bool m_autoinc
 Column is autoinc (int type)
 
bool m_primary_key
 Column is the primary key.
 
bool m_not_null
 Column forbids NULL values.
 

Detailed Description

information required to create a column in a table.

Definition at line 476 of file gnc-sql-column-table-entry.hpp.


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