class sql::SqlMeta

sys::Obj
  sql::SqlMeta

Source

SqlMeta provides access to database meta-data

driverName

Str driverName()

Source

Name of connection driver to database

driverVersion

Version driverVersion()

Source

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

driverVersionStr

Str driverVersionStr()

Source

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

maxColName

Int? maxColName()

Source

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

maxTableName

Int? maxTableName()

Source

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

productName

Str productName()

Source

Name of database product

productVersion

Version productVersion()

Source

Product version of database as "major.minor"

productVersionStr

Str productVersionStr()

Source

Product version of database as free-form string

tableExists

Bool tableExists(Str tableName)

Source

Does the specified table exist in the database?

tableRow

Row tableRow(Str tableName)

Source

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

tables

Str[] tables()

Source

List the tables in the database.