Package Usage: go: github.com/cresta/jimsmart-schema
Package schema provides access to database schema metadata, for database/sql drivers.
For further information about current driver support status, see https://github.com/jimsmart/schema
The schema package works alongside database/sql and its underlying driver to provide schema metadata.
Both user permissions and current database/schema effect table visibility.
Use schema.ColumnTypes() to query column type metadata for a single table:
To query table names and column type metadata for all tables, use schema.Tables().
See also https://golang.org/pkg/database/sql/#ColumnType
Note: underlying support for column type metadata is driver implementation specific and somewhat variable.
The same metadata can also be queried for views also:
To obtain a list of columns making up the primary key for a given table:
12 versions
Latest release: over 3 years ago
1 dependent package
View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/cresta/jimsmart-schema
View more repository details: http://repos.ecosyste.ms/hosts/GitHub/repositories/cresta%2Fjimsmart-schema
Dependent Repos 1
cresta/smallnest-gen Fork of smallnest/gen
Converts a database into gorm structs and RESTful apiSize: 29.6 MB - Last synced: about 2 months ago - Pushed: about 2 months ago
