Postgres searchable results in invalid query?
Hi!
Just ran into this as I was making some columns searchable.
Given:
It results in:
select count(*) as aggregate from "mail_threads" where ("mail_threads"."deleted_at" is null) and ("""subject""::text"::text like %ontb%))
ERROR: column ""subject"::text" does not exist
Not sure as to why, when I make ->searchable on the column it works as expected.
The above is a simplified version, I am using "root" level searchable to include nested values as well.0 Replies