type

SqlMeta

class SqlMeta : Obj

SqlMeta provides access to database meta-data

methods

driverName

Name of connection driver to database

driverVersion

Version of of connection driver to database as "major.minor"

driverVersionStr

Version of of connection driver to database as free-form string

maxColName

Max number of chars in column name or null if no known limit

maxTableName

Max number of chars in table name or null if no known limit

productName

Name of database product

productVersion

Product version of database as "major.minor"

productVersionStr

Product version of database as free-form string

tableExists

Does the specified table exist in the database?

tableRow

Get a column meta-data for for the specified table as a prototype row instance.

tables

List the tables in the database.

Slot Details

driverName

Str driverName()

Name of connection driver to database

driverVersion

Version driverVersion()

Version of of connection driver to database as "major.minor"

driverVersionStr

Str driverVersionStr()

Version of of connection driver to database as free-form string

maxColName

Int? maxColName()

Max number of chars in column name or null if no known limit

maxTableName

Int? maxTableName()

Max number of chars in table name or null if no known limit

productName

Str productName()

Name of database product

productVersion

Version productVersion()

Product version of database as "major.minor"

productVersionStr

Str productVersionStr()

Product version of database as free-form string

tableExists

Bool tableExists(Str tableName)

Does the specified table exist in the database?

tableRow

Row tableRow(Str tableName)

Get a column meta-data for for the specified table as a prototype row instance.

tables

Str[] tables()

List the tables in the database.