db

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 1 Imported by: 1

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(databaseName, 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.

Directories

Path Synopsis
sql

Jump to

Keyboard shortcuts

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