Documentation ¶
Index ¶
- type DeleteItemInput
- type GetItemInput
- type PutItemInput
- type QueryInput
- func ExclusiveStartKey(v interface{}) QueryInput
- func Index(indexName string) QueryInput
- func Limit(limit int64) QueryInput
- func ProjectionExpression(e string) QueryInput
- func QueryConsistentRead() QueryInput
- func QueryExpressionAttributeName(key, placeholder string) QueryInput
- func QueryExpressionAttributeValue(placeholder string, value *dynamodb.AttributeValue) QueryInput
- func QueryFilterExpression(expression string) QueryInput
- func QueryKeyConditionExpression(expression string) QueryInput
- func Reverse() QueryInput
- type UpdateItemInput
- func UpdateCondition(cond string) UpdateItemInput
- func UpdateExpression(exp string) UpdateItemInput
- func UpdateExpressionAttributeName(key, placeholder string) UpdateItemInput
- func UpdateExpressionAttributeValue(placeholder string, value *dynamodb.AttributeValue) UpdateItemInput
- func UpdateReturnValues(returnValue string) UpdateItemInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteItemInput ¶
type DeleteItemInput func(req *dynamodb.DeleteItemInput)
The DeleteItemInput type is an adapter to change a parameter in dynamodb.DeleteItemInput
func DeleteCondition ¶
func DeleteCondition(cond string) DeleteItemInput
DeleteCondition sets a condition expression in dynamodb.DeleteItemInput.
func DeleteExpressionAttributeName ¶
func DeleteExpressionAttributeName(key, placeholder string) DeleteItemInput
DeleteExpressionAttributeName sets ExpressionAttributeNames in dynamodb.DeleteItemInput.
func DeleteExpressionAttributeValue ¶
func DeleteExpressionAttributeValue(placeholder string, value *dynamodb.AttributeValue) DeleteItemInput
DeleteExpressionAttributeValue sets an ExpressionAttributeValues in dynamodb.DeleteItemInput.
type GetItemInput ¶
type GetItemInput func(req *dynamodb.GetItemInput)
The GetItemInput type is an adapter to change a parameter in dynamodb.GetItemInput
func ConsistentRead ¶
func ConsistentRead() GetItemInput
ConsistentRead enables ConsistentRead in dynamodb.GetItemInput.
type PutItemInput ¶
type PutItemInput func(req *dynamodb.PutItemInput)
The PutItemInput type is an adapter to change a parameter in dynamodb.PutItemInput
func PutCondition ¶
func PutCondition(cond string) PutItemInput
PutCondition sets a condition expression in dynamodb.PutItemInput.
func PutExpressionAttributeName ¶
func PutExpressionAttributeName(key, placeholder string) PutItemInput
PutExpressionAttributeName sets an ExpressionAttributeNames in dynamodb.PutItemInput.
func PutExpressionAttributeValue ¶
func PutExpressionAttributeValue(placeholder string, value *dynamodb.AttributeValue) PutItemInput
PutExpressionAttributeValue sets an ExpressionAttributeValues in dynamodb.PutItemInput.
type QueryInput ¶
type QueryInput func(req *dynamodb.QueryInput) error
The QueryInput type is an adapter to change a parameter in dynamodb.QueryInput
func ExclusiveStartKey ¶
func ExclusiveStartKey(v interface{}) QueryInput
ExclusiveStartKey sets an ExclusiveStartKey in dynamodb.QueryInput.
func Index ¶
func Index(indexName string) QueryInput
Index sets an index name in dynamodb.QueryInput.
func ProjectionExpression ¶
func ProjectionExpression(e string) QueryInput
ProjectionExpression sets ProjectionExpression in dynamodb.QueryInput.
func QueryConsistentRead ¶
func QueryConsistentRead() QueryInput
QueryConsistentRead enables consistent read in dynamodb.QueryInput.
func QueryExpressionAttributeName ¶
func QueryExpressionAttributeName(key, placeholder string) QueryInput
QueryExpressionAttributeName sets an ExpressionAttributeNames in dynamodb.QueryInput.
func QueryExpressionAttributeValue ¶
func QueryExpressionAttributeValue(placeholder string, value *dynamodb.AttributeValue) QueryInput
QueryExpressionAttributeValue sets an ExpressionAttributeValues in dynamodb.QueryInput.
func QueryFilterExpression ¶
func QueryFilterExpression(expression string) QueryInput
QueryFilterExpression sets FilterExpression in dynamodb.QueryInput.
func QueryKeyConditionExpression ¶
func QueryKeyConditionExpression(expression string) QueryInput
QueryKeyConditionExpression sets KeyConditionExpression in dynamodb.QueryInput.
func Reverse ¶
func Reverse() QueryInput
Reverse sets ScanIndexForward false in dynamodb.QueryInput.
If ScanIndexForward is true, DynamoDB returns the results in ascending order, by range key. This is the default behavior.
If ScanIndexForward is false, DynamoDB returns the results in descending order, by range key.
type UpdateItemInput ¶
type UpdateItemInput func(req *dynamodb.UpdateItemInput)
The UpdateItemInput type is an adapter to change a parameter in dynamodb.UpdateItemInput
func UpdateCondition ¶
func UpdateCondition(cond string) UpdateItemInput
UpdateCondition sets a condition expression in dynamodb.UpdateItemInput.
func UpdateExpression ¶
func UpdateExpression(exp string) UpdateItemInput
UpdateExpression sets a update expression in dynamodb.UpdateItemInput.
func UpdateExpressionAttributeName ¶
func UpdateExpressionAttributeName(key, placeholder string) UpdateItemInput
UpdateExpressionAttributeName sets an ExpressionAttributeNames in dynamodb.UpdateItemInput.
func UpdateExpressionAttributeValue ¶
func UpdateExpressionAttributeValue(placeholder string, value *dynamodb.AttributeValue) UpdateItemInput
UpdateExpressionAttributeValue sets an ExpressionAttributeValues in dynamodb.UpdateItemInput.
func UpdateReturnValues ¶
func UpdateReturnValues(returnValue string) UpdateItemInput
UpdateReturnValues sets the attributes to return in dynamodb.UpdateItemOutput. Default is dynamodb.ReturnValueNone.