Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SkipSoftDelete ¶ added in v0.11.5
SkipSoftDelete returns a new context that skips the soft-delete interceptor/mutators.
func VersionHook ¶
Types ¶
type Card ¶
Card holds the schema definition for the CreditCard entity.
func (Card) Interceptors ¶ added in v0.11.5
func (Card) Interceptors() []ent.Interceptor
type RejectUpdate ¶
RejectUpdate rejects ~all update operations that are not on a specific entity.
func (RejectUpdate) Hooks ¶
func (RejectUpdate) Hooks() []ent.Hook
type SoftDeleteMixin ¶ added in v0.11.5
func (SoftDeleteMixin) Fields ¶ added in v0.11.5
func (SoftDeleteMixin) Fields() []ent.Field
func (SoftDeleteMixin) Hooks ¶ added in v0.11.5
func (d SoftDeleteMixin) Hooks() []ent.Hook
func (SoftDeleteMixin) Interceptors ¶ added in v0.11.5
func (d SoftDeleteMixin) Interceptors() []ent.Interceptor
func (SoftDeleteMixin) P ¶ added in v0.11.5
func (d SoftDeleteMixin) P(w interface{ WhereP(...func(*sql.Selector)) })
type VersionMixin ¶
func (VersionMixin) Fields ¶
func (VersionMixin) Fields() []ent.Field
func (VersionMixin) Hooks ¶
func (VersionMixin) Hooks() []ent.Hook
Click to show internal directories.
Click to hide internal directories.