Copyright | Soostone Inc |
---|---|
License | BSD3 |
Maintainer | Ozgun Ataman <ozgun.ataman@soostone.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Implementation of Amazon DynamoDb Query command.
See: http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Query.html
- data Query = Query {
- qTableName :: Text
- qKeyConditions :: Slice
- qFilter :: Conditions
- qStartKey :: Maybe [Attribute]
- qLimit :: Maybe Int
- qForwardScan :: Bool
- qSelect :: QuerySelect
- qRetCons :: ReturnConsumption
- qIndex :: Maybe Text
- qConsistent :: Bool
- data Slice = Slice {}
- query :: Text -> Slice -> Query
- data QueryResponse = QueryResponse {}
Documentation
A Query command that uses primary keys for an expedient scan.
Query | |
|
Slice
is the primary constraint in a Query
command, per AWS
requirements.
All Query
commands must specify a hash attribute via DEq
and
optionally provide a secondary range attribute.
Construct a minimal Query
request.
data QueryResponse Source
Response to a Query
query.