1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
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 hace 2 años
Contenido relevante
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 3 años
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/