Hello,
I'm using Postgresql and JSONB column.
I would like to write a query using ORM that will generate such SQL query:
SELECT id,name,details FROM Device WHERE details::text LIKE '%99%';
where details is of JSONB type and it is converted to text and then like
operator is used.
Generally I would like to check if somewhere inside details as a text there
is a given substring.
Could you help with that?
Regards,
Michal
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.