Replies: 1 comment 7 replies
-
@kdiogenes Thanks for asking this question. I haven't used the new JSONB features yet, but it seems like instead of using a text column to store JSON, you can use a blob column to store a binary format, is that right? That seems like something that should work fine today with this gem. Is there a particular use case you can describe that would make this conversation more concrete and help me understand what's not working as expected? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From https://sqlite.org/jsonb.html, SQLite supports JSONB since version 3.45.0, but if I'm not missing anything, this gem still doesn't.
From this post https://sqlite.org/forum/forumpost/fa6f64e3dc1a5d97, I'm a bit confused about it. When creating a JSONB field on Postgres it's a column type, but for SQLite it appears to be a supported format for a JSON column. I'm assuming this because of this part of the "Migration" section:
There is also some interest in SQLite JSONB on the Rails community: https://discuss.rubyonrails.org/t/add-jsonb-on-sqlite-connection-adapter-table-definition/84689.
So, I would like to know if someone is already working on supporting this or has an idea of how this can be better integrated within this gem.
Best regards!
Beta Was this translation helpful? Give feedback.
All reactions