Skip to content

fix(playground): fix get todos database query#819

Merged
atinux merged 1 commit intonuxt-hub:mainfrom
branislavjuhaas:query-error-fix
Feb 6, 2026
Merged

fix(playground): fix get todos database query#819
atinux merged 1 commit intonuxt-hub:mainfrom
branislavjuhaas:query-error-fix

Conversation

@branislavjuhaas
Copy link
Copy Markdown
Contributor

Change comparing argument in get query to use number, which is defined as numeric column type in schemas. Check:

I thing for some weird reason, it works in default sqlite, but it fails in postgresql (at least in default pglite driver). Anyways, I believe it to be good change to work with all the schemas.

Fixes #818

@vercel
Copy link
Copy Markdown

vercel bot commented Feb 5, 2026

@branislavjuhaas is attempting to deploy a commit to the NuxtLabs Team on Vercel.

A member of the Team first needs to authorize it.

@atinux atinux merged commit dd7d7f9 into nuxt-hub:main Feb 6, 2026
1 of 3 checks passed
@atinux
Copy link
Copy Markdown
Contributor

atinux commented Feb 6, 2026

Thank you!

@branislavjuhaas branislavjuhaas deleted the query-error-fix branch February 6, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid query in playground

2 participants