package
0.9.1
Repository: https://github.com/gsiems/go-db-meta.git
Documentation: pkg.go.dev

# Functions

CheckConstraints returns a slice of Check Constraints for the (tableSchema, tableName) parameters.
Coalesce picks the first non-empty string from a list.
Columns returns a slice of Columns for the (tableSchema, tableName) parameters.
CurrentCatalog returns the current catalog.
Dependencies returns a slice of Dependecies for the (objectSchema, objectName) parameters.
Domains returns a slice of Domains for the (schemaName) parameter.
Indexes returns a slice of Indexes for the (tableSchema, tableName) parameters.
PrimaryKeys returns a slice of primary keys for the (schemaName, tableName) parameters.
No description provided by the author
ReferentialConstraints returns a slice of Referential Constraints for the (schemaName, tableName) parameters.
Schemata returns a slice of Schemas, optionally filtered on the (nclude, xclude) parameters.
Tables returns a slice of Tables for the (schema) parameter.
Types returns a slice of Types for the (schemaName) parameter.
UniqueConstraints returns a slice of Unique Constraints for the (schemaName, tableName) parameters.

# Structs

No description provided by the author
CheckConstraint contains details for referential constraints.
Column contains details for Columns.
Dependency contains details for Dependencies.
Domain contains details for (user defined) domains.
Index contains details for Indexes.
PrimaryKey contains primary key columns for tables.
ReferentialConstraint contains details for referential constraints.
Schema contains details for Schemata.
Table contains details for tables and views.
Type contains details for user defined types.
UniqueConstraint contains details for Unique Constraints.