Versions in this module Expand all Collapse all v0 v0.1.2 Nov 22, 2024 v0.1.1 Nov 22, 2024 Changes in this version + func BatchGetItem[T any](l *Limitless, tableName string, items []T) ([]T, error) + func BatchPutItem[T any](l *Limitless, tableName string, items []T) error + func DeleteItem[T any](l *Limitless, tableName string, key *T) error + func GetItem[T any](l *Limitless, tableName string, key *T) (*T, error) + func PutItemConditional[T any](l *Limitless, tableName string, conditionExpression string, item T) error + func PutItem[T any](l *Limitless, tableName string, item T) error + func Query[T any](l *Limitless, queryRequest QueryRequest) ([]T, map[string]types.AttributeValue, error) + func Scan[T any](l *Limitless, request ScanRequest) ([]T, map[string]types.AttributeValue, error) + func TransactWriteItems(l *Limitless, items *[]PutItemRequest, idempotencyToken *string) error + func UpdateItem[T any](l *Limitless, tableName string, key *T, item *T) error + type Limitless struct + func NewClient(dynamodb *dynamodb.Client) *Limitless + type PutItemRequest struct + Item interface{} + TableName string + type QueryRequest struct + Ascending *bool + Condition string + ConsistentRead *bool + ExclusiveStartKey map[string]types.AttributeValue + ExpressionAttributeNames map[string]string + IndexName *string + Limit *int32 + ProjectionExpression *string + TableName string + Values map[string]any + type ScanRequest struct + ConsistentRead *bool + ExclusiveStartKey map[string]types.AttributeValue + IndexName *string + Limit *int32 + TableName string