Versions in this module Expand all Collapse all v2 v2.1.0 Feb 4, 2026 v2.0.1 Sep 8, 2025 Changes in this version + const Name + func BuildFilterExpression(conditions map[string]interface{}) (*string, map[string]*string, map[string]*dynamodb.AttributeValue, error) + func BuildProjectionExpression(fields []string) (*string, map[string]*string) + func BuildUpdateExpression(updates map[string]interface{}, primaryKey string) (*string, map[string]*string, map[string]*dynamodb.AttributeValue, error) + func Get() storage.IStorage + func IsConditionalCheckFailedError(err error) bool + func IsNotFoundError(err error) bool + func IsProvisionedThroughputExceededError(err error) bool + func MarshalItem(v interface{}) (map[string]*dynamodb.AttributeValue, error) + func MarshalKey(keyName string, keyValue interface{}) (map[string]*dynamodb.AttributeValue, error) + func Set(s storage.IStorage) + func ToDynamoDBSort(s customsort.Sort) (bool, error) + func UnmarshalItem(item map[string]*dynamodb.AttributeValue, v interface{}) error + func UnmarshalItems(items []map[string]*dynamodb.AttributeValue, v interface{}) error + func WithDynamicTarget(targetFunc DynamicTableFunc) func(*DynamoDB) + func WithPrimaryKey(primaryKey string) func(*DynamoDB) + func WithTarget(target string) func(*DynamoDB) + type Config = aws.Config + type CreateTableInput = dynamodb.CreateTableInput + type DeleteItemInput = dynamodb.DeleteItemInput + type DynamicTableFunc func() string + type DynamoDB struct + Client *dynamodb.DynamoDB + Config Config + PrimaryKey string + Region string + Target DynamicTableFunc + func New(ctx context.Context, region string, cfg *Config) (*DynamoDB, error) + func NewWithDynamicTable(ctx context.Context, region string, dynamicTableFunc DynamicTableFunc, ...) (*DynamoDB, error) + func NewWithTable(ctx context.Context, region, tableName string, cfg *Config) (*DynamoDB, error) + func (d *DynamoDB) Count(ctx context.Context, target string, prm *count.Count, ...) (int64, error) + func (d *DynamoDB) Create(ctx context.Context, id, target string, v any, prm *create.Create, ...) (string, error) + func (d *DynamoDB) Delete(ctx context.Context, id, target string, prm *delete.Delete, ...) error + func (d *DynamoDB) GetClient() any + func (d *DynamoDB) List(ctx context.Context, target string, v any, prm *list.List, ...) error + func (d *DynamoDB) Retrieve(ctx context.Context, id, target string, v any, prm *retrieve.Retrieve, ...) error + func (d *DynamoDB) Update(ctx context.Context, id, target string, v any, prm *update.Update, ...) error + type GetItemInput = dynamodb.GetItemInput + type Item map[string]*dynamodb.AttributeValue + type Items []Item + type PutItemInput = dynamodb.PutItemInput + type QueryInput = dynamodb.QueryInput + type ScanInput = dynamodb.ScanInput + type TableDescription = dynamodb.TableDescription + type UpdateItemInput = dynamodb.UpdateItemInput