Registry / database / jimsmart-schema

jimsmart-schema

JSON →
library0.2.1gogounverified

Provides access to database schema metadata (tables, columns, types) for database/sql drivers.

go get github.com/jimsmart/schema
INSTALL
IMPORT
SIG · JIMSMART-SCHEMA
J
jimsmart-schema
databasegov0.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

schema
github.com/jimsmart/schema

Lists all tables in a database

package main import ( "database/sql" "fmt" "github.com/jimsmart/schema" ) func main() { db, _ := sql.Open("postgres", "...") tables, _ := schema.Tables(db) for _, t := range tables { fmt.Println(t.Name) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jimsmart-schema — go get jimsmart-schema · libregistry