Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtering with nested attributes #489

Open
fernandopioli opened this issue Apr 3, 2023 · 1 comment
Open

Filtering with nested attributes #489

fernandopioli opened this issue Apr 3, 2023 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@fernandopioli
Copy link

Hi.
I'm trying to apply a filter with nested attribute but it's not retrieving the results.
Does it work?
const options: any = {
beginsWith: 'VALUE#',
index: 'GSI1',
limit: +input.limit,
filters: [
{ attr: 'values.field1', contains: 'test' }
]
}
thanks

@naorpeled naorpeled self-assigned this Apr 5, 2023
@naorpeled naorpeled added the question Further information is requested label Apr 5, 2023
@naorpeled
Copy link
Collaborator

naorpeled commented Apr 5, 2023

Hey @fernandopioli,
thanks for opening this issue.

This afaik should work.
Will be able to dig further into this a bit later 🙏

In the meantime, can you also run the command with execute: false and send the result here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants