MCPcopy
hub / github.com/iron-io/functions / PostgresDatastore

Struct PostgresDatastore

api/datastore/postgres/postgres.go:51–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51type PostgresDatastore struct {
52 db *sql.DB
53}
54
55func New(url *url.URL) (models.Datastore, error) {
56 db, err := sql.Open("postgres", url.String())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected