type

SqlMeta

src 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

src Str driverName()

Name of connection driver to database

driverVersion

src Version driverVersion()

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

driverVersionStr

src Str driverVersionStr()

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

maxColName

src Int? maxColName()

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

maxTableName

src Int? maxTableName()

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

productName

src Str productName()

Name of database product

productVersion

src Version productVersion()

Product version of database as "major.minor"

productVersionStr

src Str productVersionStr()

Product version of database as free-form string

tableExists

src Bool tableExists(Str tableName)

Does the specified table exist in the database?

tableRow

src Row tableRow(Str tableName)

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

tables

src Str[] tables()

List the tables in the database.