Versions in this module Expand all Collapse all v4 v4.0.0 Apr 3, 2025 Changes in this version + type AdvisoryLock interface + Lock func() (bool, error) + LockShared func() (bool, error) + Unlock func() (bool, error) + UnlockShared func() (bool, error) + func NewAdvisoryLock(connPool *pgxpool.Pool, logger logger.LoggingClient, serviceKey string) (AdvisoryLock, error) + type Client struct + func NewClient(ctx context.Context, config bootstrapConfig.Database, ...) (*Client, errors.EdgeX) + func (c Client) CloseSession() + func (c Client) Disconnect() error + func (c Client) RemoveFromStore(o interfaces.StoredObject) error + func (c Client) RetrieveFromStore(appServiceKey string) ([]interfaces.StoredObject, error) + func (c Client) Store(o interfaces.StoredObject) (string, error) + func (c Client) Update(o interfaces.StoredObject) error + type TableManager interface + RunScripts func(ctx context.Context) error + func NewTableManager(connPool *pgxpool.Pool, lc logger.LoggingClient, ...) (TableManager, error)