model

package
v2.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context, opCtx *operation.OpContext, opType operation.OpType, opts ...any) error

Types

type AfterDelete

type AfterDelete interface {
	AfterDelete(ctx context.Context) error
}

type AfterFind

type AfterFind interface {
	AfterFind(ctx context.Context) error
}

type AfterInsert

type AfterInsert interface {
	AfterInsert(ctx context.Context) error
}

type AfterUpdate

type AfterUpdate interface {
	AfterUpdate(ctx context.Context) error
}

type AfterUpsert

type AfterUpsert interface {
	AfterUpsert(ctx context.Context) error
}

type BeforeDelete

type BeforeDelete interface {
	BeforeDelete(ctx context.Context) error
}

type BeforeFind

type BeforeFind interface {
	BeforeFind(ctx context.Context) error
}

type BeforeInsert

type BeforeInsert interface {
	BeforeInsert(ctx context.Context) error
}

type BeforeUpdate

type BeforeUpdate interface {
	BeforeUpdate(ctx context.Context) error
}

type BeforeUpsert

type BeforeUpsert interface {
	BeforeUpsert(ctx context.Context) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL