options

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder added in v0.1.11

type Builder struct {
	// contains filtered or unexported fields
}

func New added in v0.1.11

func New(size int, opt ...Option) *Builder

func (*Builder) Append added in v0.1.11

func (b *Builder) Append(f func() (Option, error)) *Builder

func (*Builder) Build added in v0.1.11

func (b *Builder) Build() ([]Option, error)

type Option

type Option func(input any) any

func AttributeUpdates

func AttributeUpdates(updates map[string]types.AttributeValueUpdate) Option

AttributeUpdates dynamodb.UpdateItemInput.AttributeUpdates

func ConsistentRead added in v0.1.3

func ConsistentRead(consistentRead *bool) Option

func ExclusiveStartKey added in v0.1.3

func ExclusiveStartKey(exclusiveStartKey map[string]types.AttributeValue) Option

func Limit

func Limit(limit int32) Option

Limit dynamodb.QueryInput.Limit

func ReturnConsumedCapacity

func ReturnConsumedCapacity(capacity types.ReturnConsumedCapacity) Option

func ReturnItemCollectionMetrics

func ReturnItemCollectionMetrics(metrics types.ReturnItemCollectionMetrics) Option

func ReturnValues

func ReturnValues(value types.ReturnValue) Option

func ReturnValuesOnConditionCheckFailure added in v0.1.1

func ReturnValuesOnConditionCheckFailure(value types.ReturnValuesOnConditionCheckFailure) Option

func ScanIndexForward

func ScanIndexForward(asc bool) Option

ScanIndexForward dynamodb.QueryInput.ScanIndexForward

func Segment added in v0.1.3

func Segment(segment *int32) Option

func Select added in v0.1.3

func Select(selectType types.Select) Option

func TotalSegments added in v0.1.3

func TotalSegments(totalSegments *int32) Option

type Options added in v0.1.11

type Options []Option

Jump to

Keyboard shortcuts

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