1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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()
con risposta 2 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata 3 mesi fa
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/