Replies: 1 comment 6 replies
-
|
It seems that SeaORM defaults to using JSONB as the type when emitting SQL for Postgres? I am not seeing docs indicating how to select which of JSON vs JSONB is desired for a particular case, and this seems to also happen when doing ops on columns even if they are JSON (and not JSONB). |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an enum that I save into my postgresql database as a Json value with serde_json.
When I try to search for it I get an error from the databasa saying I cannot compare
json = jsonb. I don't really understand why its trying to query with a JsonBinary instead of normal Json.I have also double checked, and indeed my type is json in the entities.
Any ideas why this could be happening?
Beta Was this translation helpful? Give feedback.
All reactions