SelectFIlter & AsEnumCollection
I have a model
It has a
I then have a
The table works/looks fine: (see attached image)
But when I try to filter the table, I get an SQL error. Using PostgreSQL 14.
Since the column is a jsonb I can see why it doesn't like this.
I could convert to using a 'caliber_types' table but given these types should never really change, it seems like overkill.
Any thoughts?
Posting this and stepping away for dinner real fast. Will check in as soon as I get back.
Caliber. It has a
casts like this: I then have a
SelectFilter on the table like so: The table works/looks fine: (see attached image)
But when I try to filter the table, I get an SQL error. Using PostgreSQL 14.
Since the column is a jsonb I can see why it doesn't like this.
SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for type json DETAIL: Token "pistol" is invalid. CONTEXT: JSON data, line 1: pistol unnamed portal parameter $1 = '...'I could convert to using a 'caliber_types' table but given these types should never really change, it seems like overkill.
Any thoughts?
Posting this and stepping away for dinner real fast. Will check in as soon as I get back.
