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

How to fetch jsonb columns #25

Open
xinha-sh opened this issue Nov 13, 2024 · 3 comments
Open

How to fetch jsonb columns #25

xinha-sh opened this issue Nov 13, 2024 · 3 comments
Assignees

Comments

@xinha-sh
Copy link

I am getting an error String cannot represent value
Screenshot 2024-11-13 at 6 25 46 PM

options is a sqlite text column with mode json

@Sukairo-02 Sukairo-02 self-assigned this Nov 13, 2024
@TimMensch
Copy link

@Sukairo-02 Is there any progress on this?

I need a fix immediately, and will do it myself unless you're already almost done.

@TimMensch
Copy link

@Sukairo-02 OK, took too long. Fixed. 😄

@TimMensch
Copy link

Made a branch of #26 that I could use while waiting for the PR to be merged. Add this to dependencies (if you're using Yarn, at least) and it should use the dependency line:

"drizzle-graphql": "https://github.com/TimMensch/drizzle-graphql#head=jsonb-support-dist",

Or maybe "git+https" for npm? Only tested in yarn.

Was doing this to make it easy to share the fix among a bunch of projects and computers, so I thought I'd post instructions in case anyone else found them useful.

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

No branches or pull requests

3 participants