dbupdate

package
v0.15.14 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUpdateRequestItems

func GetUpdateRequestItems(ctx context.Context, db ddb.Storage, r access.Request, opts ...func(*UpdateRequestOpts)) ([]ddb.Keyer, error)

GetUpdateRequestItems returns a slice of ddb.keyers which needs to be written to update this request all the items returned have been updated with the input request

func WithReviewers

func WithReviewers(r []access.Reviewer) func(*UpdateRequestOpts)

WithReviewers allows reviewers to be passed in if they have already be fetched in a previous query

Types

type UpdateRequestOpts

type UpdateRequestOpts struct {
	Reviewers []access.Reviewer
}

Jump to

Keyboard shortcuts

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