dynamodb-expression
A Rust crate to help build DynamoDB condition, filter, key condition, and update expressions in a type-safe way, including using expression attribute names and expression attribute values.
An example showing a how to use this crate to perform a query:
use BehaviorVersion;
use Client;
use ;
let client = new;
let query_output = builder
.with_filter
.with_projection
.with_key_condition
.build
.query
.table_name
.send
.await?;
For more, see the docs.
Cargo features
This crate only uses aws-sdk-dynamodb for its types. By default it leaves the
SDK's default features on, which include the SDK's legacy rustls HTTP client
(hyper 0.14 / rustls 0.21). To leave that out, turn off default features and
choose the SDK features you need, either through this crate's pass-through
features or on your own aws-sdk-dynamodb dependency:
= { = "0.2.0-beta.11", = false }
= { = "1", = false, = ["default-https-client", "rt-tokio"] }
Pass-through features: aws-sdk-dynamodb-default (on by default),
aws-sdk-dynamodb-behavior-version-latest, aws-sdk-dynamodb-default-https-client, aws-sdk-dynamodb-legacy-https-client,
aws-sdk-dynamodb-rt-tokio, and aws-sdk-dynamodb-rustls.