I'm using JSONb columns of the PostgreSQL.
I have such an array in my data column
{
myKey: []
}
How can I check through Laravel, if this array is empty or not?
Something like
MyModel::where('data->myKey'...)
I'm using JSONb columns of the PostgreSQL.
I have such an array in my data column
{
myKey: []
}
How can I check through Laravel, if this array is empty or not?
Something like
MyModel::where('data->myKey'...)