MCPcopy Create free account
hub / github.com/Permify/permify / NewWithSeparateURIs

Function NewWithSeparateURIs

pkg/database/postgres/postgres.go:60–62  ·  view source on GitHub ↗

NewWithSeparateURIs -

(writerUri, readerUri string, opts ...Option)

Source from the content-addressed store, hash-verified

58
59// NewWithSeparateURIs -
60func NewWithSeparateURIs(writerUri, readerUri string, opts ...Option) (*Postgres, error) {
61 return newDB(writerUri, readerUri, opts...)
62}
63
64// new - Creates new postgresql db instance
65func newDB(writerUri, readerUri string, opts ...Option) (*Postgres, error) {

Callers 1

postgres_test.goFile · 0.85

Calls 1

newDBFunction · 0.85

Tested by

no test coverage detected