Qore PgsqlSqlUtilBase Module Reference 1.8
Loading...
Searching...
No Matches
PgsqlSqlUtilBase::PgsqlNumericColumn Class Reference

represents a PostgreSQL-specific numeric column More...

Inheritance diagram for PgsqlSqlUtilBase::PgsqlNumericColumn:
[legend]

Public Member Functions

 constructor (string n, string nt, *string qt, int sz, bool nul, *string dv, *string cm, softint bs, softint scale)
 creates the column from the supplied arguments
string getNativeTypeString ()
 returns a string giving the native type of the column
Public Member Functions inherited from PgsqlSqlUtilBase::PgsqlColumn
 constructor (string n, string nt, *string qt, int sz, bool nul, *string dv, *string cm, softint bs, *int scale)
 creates the column from the supplied arguments
list getAddColumnSql (AbstractTable t)
 returns a list of sql strings that can be used to add the column to an existing table
string getDdlName (string name)
 returns the column name with quoting in case the column name is a reserved word
list getModifySqlImpl (AbstractTable t, AbstractColumn col, *hash opt)
 returns a list of sql strings that can be used to modify the column to the new definition
string getNativeTypeString ()
 returns a string giving the native type of the column
string getRenameSql (AbstractTable t, string new_name)
 returns a string that can be used to rename the column

Additional Inherited Members

Public Attributes inherited from PgsqlSqlUtilBase::PgsqlColumn
int byte_size
 byte size of the column
Protected Member Functions inherited from PgsqlSqlUtilBase::PgsqlColumn
 constructor ()
 empty constructor for subclasses
bool equalImpl (AbstractColumn c)
 returns True if the argument is equal to the current object, False if not

Detailed Description

represents a PostgreSQL-specific numeric column