dynamodb

package
v0.4.65 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertAttributeValueToDynamoDBJSON added in v0.4.55

func ConvertAttributeValueToDynamoDBJSON(av dynamotypes.AttributeValue) (map[string]any, error)

func ConvertMapToJSONBytes added in v0.4.55

func ConvertMapToJSONBytes(input map[string]dynamotypes.AttributeValue) ([]byte, error)

func ConvertToStringSlice

func ConvertToStringSlice(slice any) ([]string, error)

func MarshalJSONToDynamoDBAttribute

func MarshalJSONToDynamoDBAttribute(key, path string, root any, keyTypeMap map[string]neosync_types.KeyType) types.AttributeValue

func MarshalToAttributeValue

func MarshalToAttributeValue(key string, root any, keyTypeMap map[string]neosync_types.KeyType) types.AttributeValue

func ParseAttributeValue

func ParseAttributeValue(key string, v types.AttributeValue, keyTypeMap map[string]neosync_types.KeyType) any

ParseAttributeValue converts a DynamoDB AttributeValue to a standard value

func ParseDynamoDBAttributeValue

func ParseDynamoDBAttributeValue(key string, value any, keyTypeMap map[string]neosync_types.KeyType) any

func UnmarshalAttributeValueMap

func UnmarshalAttributeValueMap(item map[string]types.AttributeValue) (standardMap map[string]any, keyTypeMap map[string]neosync_types.KeyType)

func UnmarshalDynamoDBItem

func UnmarshalDynamoDBItem(item map[string]any) (standardMap map[string]any, keyTypeMap map[string]neosync_types.KeyType)

Types

This section is empty.

Jump to

Keyboard shortcuts

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