Documentation
¶
Index ¶
- Constants
- type DBMS
- func (db *DBMS) CheckConstraints(schemaName, tableName string) ([]m.CheckConstraint, error)
- func (db *DBMS) CloseDB() error
- func (db *DBMS) Columns(schemaName, tableName string) ([]m.Column, error)
- func (db *DBMS) CurrentCatalog() (m.Catalog, error)
- func (db *DBMS) Dependencies(schemaName, objectName string) ([]m.Dependency, error)
- func (db *DBMS) Domains(schemaName string) ([]m.Domain, error)
- func (db *DBMS) ID() int
- func (db *DBMS) Indexes(schemaName, tableName string) ([]m.Index, error)
- func (db *DBMS) Name() string
- func (db *DBMS) PrimaryKeys(schemaName, tableName string) ([]m.PrimaryKey, error)
- func (db *DBMS) ReferentialConstraints(schemaName, tableName string) ([]m.ReferentialConstraint, error)
- func (db *DBMS) Schemata(nclude, xclude string) ([]m.Schema, error)
- func (db *DBMS) Tables(schemaName string) ([]m.Table, error)
- func (db *DBMS) Types(schemaName string) ([]m.Type, error)
- func (db *DBMS) UniqueConstraints(schemaName, tableName string) ([]m.UniqueConstraint, error)
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBMS ¶
func (*DBMS) CheckConstraints ¶
func (db *DBMS) CheckConstraints(schemaName, tableName string) ([]m.CheckConstraint, error)
CheckConstraints returns a slice of Check Constraints for the (schemaName, tableName) parameters
func (*DBMS) Columns ¶
Columns returns a slice of Columns for the (schemaName, tableName) parameters
func (*DBMS) CurrentCatalog ¶
CurrentCatalog returns the current catalog
func (*DBMS) Dependencies ¶
func (db *DBMS) Dependencies(schemaName, objectName string) ([]m.Dependency, error)
Dependencies returns a slice of Dependecies for the (schemaName, objectName) parameters
func (*DBMS) Indexes ¶
Indexes returns a slice of Indexes for the (schemaName, tableName) parameters
func (*DBMS) PrimaryKeys ¶
func (db *DBMS) PrimaryKeys(schemaName, tableName string) ([]m.PrimaryKey, error)
PrimaryKeys returns a slice of primary keys for the (schemaName, tableName) parameters
func (*DBMS) ReferentialConstraints ¶
func (db *DBMS) ReferentialConstraints(schemaName, tableName string) ([]m.ReferentialConstraint, error)
ReferentialConstraints returns a slice of Referential Constraints for the (schemaName, tableName) parameters
func (*DBMS) Schemata ¶
Schemata returns a slice of Schemas, optionally filtered on the (nclude, xclude) parameters
func (*DBMS) UniqueConstraints ¶
func (db *DBMS) UniqueConstraints(schemaName, tableName string) ([]m.UniqueConstraint, error)
UniqueConstraints returns a slice of Unique Constraints for the (schemaName, tableName) parameters