Public Member Functions

MGT::Sql::SqlTable Class Reference

List of all members.

Public Member Functions

def fromDb
def createSql
def insertSql

Detailed Description

This class defines SQL table

Member Function Documentation

def MGT::Sql::SqlTable::createSql (   self )
Return SQL DDL string that constructs this table
def MGT::Sql::SqlTable::fromDb (   klass,
  db,
  name 
)
Generate SqlTable instance by querying an actual table in the database.
@param db DbSql instance
@param name Table name
@return new SqlTable instance
def MGT::Sql::SqlTable::insertSql (   self )
Return SQL DML string that can be passed to Python DB-API cursor.executemany() method

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