Documentation ¶
Index ¶
- func ConvertAttributeValueToDynamoDBJSON(av dynamotypes.AttributeValue) (map[string]any, error)
- func ConvertMapToJSONBytes(input map[string]dynamotypes.AttributeValue) ([]byte, error)
- func ConvertToStringSlice(slice any) ([]string, error)
- func MarshalJSONToDynamoDBAttribute(key, path string, root any, keyTypeMap map[string]neosync_types.KeyType) types.AttributeValue
- func MarshalToAttributeValue(key string, root any, keyTypeMap map[string]neosync_types.KeyType) types.AttributeValue
- func ParseAttributeValue(key string, v types.AttributeValue, ...) any
- func ParseDynamoDBAttributeValue(key string, value any, keyTypeMap map[string]neosync_types.KeyType) any
- func UnmarshalAttributeValueMap(item map[string]types.AttributeValue) (standardMap map[string]any, keyTypeMap map[string]neosync_types.KeyType)
- func UnmarshalDynamoDBItem(item map[string]any) (standardMap map[string]any, keyTypeMap map[string]neosync_types.KeyType)
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 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 UnmarshalAttributeValueMap ¶
func UnmarshalAttributeValueMap(item map[string]types.AttributeValue) (standardMap map[string]any, keyTypeMap map[string]neosync_types.KeyType)
func UnmarshalDynamoDBItem ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.