Documentation ¶
Overview ¶
Package entdb extends the ent db library and satisfies matt's needs for consistency
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶ added in v0.2.0
func New(ctx context.Context, c entx.Config, jobOpts []riverqueue.Option, opts ...ent.Option) (*ent.Client, error)
New returns a ent client with a primary and secondary, if configured, write database
func NewTestClient ¶
func NewTestClient(ctx context.Context, ctr *testutils.TestFixture, jobOpts []riverqueue.Option, entOpts []ent.Option) (*ent.Client, error)
NewTestClient creates a entdb client that can be used for TEST purposes ONLY
func NewTestFixture ¶
func NewTestFixture() *testutils.TestFixture
NewTestFixture creates a test container for testing purposes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.