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

queryContent empty result on where query #1857

Closed
farnabaz opened this issue Jan 27, 2023 — with Volta.net · 0 comments · Fixed by #1871
Closed

queryContent empty result on where query #1857

farnabaz opened this issue Jan 27, 2023 — with Volta.net · 0 comments · Fixed by #1871
Assignees
Labels
bug Something isn't working

Comments

Copy link
Member

Querying with _path condition results empty list

const { data: _articles } = await useAsyncData('articles', async () => await queryContent(props.path).sort({ date: -1 }).where({ _dir: { $ne: `/${props.path}` } }).find())
@farnabaz farnabaz added the bug Something isn't working label Jan 27, 2023 — with Volta.net
@farnabaz farnabaz self-assigned this Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant