Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActionExecutorList ¶
func ActionExecutorList() []string
func QueryExecutorList ¶
func QueryExecutorList() []string
func RegActionExecutor ¶
func RegActionExecutor(name string, e ActionExecutor)
func RegQueryExecutor ¶
func RegQueryExecutor(name string, e queryExecutorBuilder)
Types ¶
type ActionExecutor ¶
type ActionExecutor interface { Insert(ctx context.Context, table string, data any) (id int64, count int64, err error) Update(ctx context.Context, table string, data g.Map, where g.Map) (count int64, err error) Delete(ctx context.Context, table string, where g.Map) (count int64, err error) }
func GetActionExecutor ¶
func GetActionExecutor(name string) ActionExecutor
Click to show internal directories.
Click to hide internal directories.