Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntClientBase ¶ added in v0.9.0
type EntClientBase interface { Close() error GetSchema() EntClientSchema EntityClient(string) EntityClient }
type EntClientSchema ¶
type EntClientSchema interface {
Create(ctx context.Context, opts ...schema.MigrateOption) error
}
Generic ent-style Schema (ent doesn't provide an interface for this)
type EntTx ¶
type EntTx[C EntClientBase] interface { EntTxBase Client() C }
type EntityClient ¶
type EntityClient interface {
CreateEntity() EntityCreate
}
Click to show internal directories.
Click to hide internal directories.