Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolverFunc ¶
func ResolverFunc(callback ResolverDBCallback) debefix.ResolveCallback
ResolverFunc is a debefix.ResolveCallback helper to generate database records.
Types ¶
type ResolverDBCallback ¶
type ResolverDBCallback func(tableName string, fields map[string]any, returnFieldNames []string) (returnValues map[string]any, err error)
ResolverDBCallback will be called for each table row to be inserted. fields are the fields to be inserted. returnedFieldNames are the fields whose values are expected to be returned in the return map.
Click to show internal directories.
Click to hide internal directories.