1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
You are confusing between the syntax of Query
and Scan
.
When building a Query
command you should use WithKeyCondition(KeyCond)
:
builder := expression.NewBuilder().WithKeyCondition(keyCond).WithProjection(proj)
and when building a Scan
you should use WithFilter(filt)
:
expr, err := expression.NewBuilder().WithFilter(filt).WithProjection(proj).Build()
beantwortet vor 2 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 10 Monaten
I'm not a Go programmer but I wonder if verbose logging the wire traffic might give you insights on what your code is causing to be sent: https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/logging/