{"modulePath":"github.com/micro-community/micro/plugin/postgres/v3","version":"v3.0.0-20230824102821-fe5e310bb610","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package postgres\n\nPackage postgres implements the postgres store\n\n## Variables\n\n```go\nvar (\n\tDefaultDatabase = \"micro\"\n\tDefaultTable    = \"micro\"\n\tErrNoConnection = errors.New(\"Database connection not initialized\")\n)\n```\nDefaultDatabase is the namespace that the sql store will use if no namespace is provided.\n\n## Functions\n\n```go\nfunc NewStore(opts ...store.Option) store.Store\n```\nNewStore returns a new micro Store backed by sql\n\n## Types\n\n```go\ntype Metadata map[string]interface{}\n```\nMetadata [https://github.com/upper/db/blob/master/postgresql/custom\\_types.go#L43](https://github.com/upper/db/blob/master/postgresql/custom_types.go#L43)\n\n```go\nfunc (m *Metadata) Scan(src interface{}) error\n```\nScan satisfies the sql.Scanner interface.\n\n```go\nfunc (m Metadata) Value() (driver.Value, error)\n```\nValue satisfies the driver.Valuer interface.\n\n","path":"github.com/micro-community/micro/plugin/postgres/v3","name":"postgres","synopsis":"Package postgres implements the postgres store","isRedistributable":true}
