1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
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()
respondido há 2 anos
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 3 meses
- AWS OFICIALAtualizada há 2 anos
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/