Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct { UGen *types.UidGenerator // contains filtered or unexported fields }
func (*DB) CheckDbVersion ¶
CheckDbVersion checks whether the actual DB version matches the expected version of this adapter.
func (*DB) GetDbVersion ¶
GetDbVersion returns current database version.
func (*DB) IsOpen ¶
IsOpen returns true if connection to database has been established.
It does not check if connection is actually live.
func (*DB) SetMaxResults ¶
SetMaxResults configures how many results can be returned in a single DB call.
type DBArgs ¶
type DBArgs struct { DB *pgxpool.Pool Cfg *config.StorePostgresConfig UGen *types.UidGenerator Utils *utils.Utils }
Click to show internal directories.
Click to hide internal directories.