multi

package
v1.36.4 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(vals interface{}) error

func Delete

func Delete(vals interface{}) error

func Get

func Get(db *datastore.Datastore, keys interface{}, vals interface{}) error

func MustCreate

func MustCreate(vals interface{})

func MustDelete

func MustDelete(vals interface{})

func MustPut

func MustPut(vals interface{})

func MustUpdate

func MustUpdate(vals interface{})

func Put

func Put(vals interface{}) error

func Update

func Update(vals interface{}) error

Types

type MultiError

type MultiError []error

MultiError is returned by batch operations when there are errors with particular elements. Errors will be in a one-to-one correspondence with the input elements; successful elements will have a nil entry.

func (MultiError) Error

func (m MultiError) Error() string

Jump to

Keyboard shortcuts

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