How do I get all the empty records for a jsonb column with Active Record ?
You can query for empty objects in a JSONB column using the following syntax:
|
|||
|
How do I get all the empty records for a jsonb column with Active Record ? |
|||
You can query for empty objects in a JSONB column using the following syntax:
|
|||
|
null
? Or, are you looking for all rows where the jsonb column is an empty object '{}'? Some example code/sql would help here. – mrwillihog Jun 8 at 14:24