Answers for "empty check on django json field"

0

empty check on django json field

// jsonfield default=list
Model.objects.filter(jsonfield__exact=[])

// jsonfield default=dict
Model.objects.filter(jsonfield__exact={})
Posted by: Guest on May-19-2021

Code answers related to "empty check on django json field"

Code answers related to "Javascript"

Browse Popular Code Answers by Language