Reputation: 527
I am trying to query null values from my database. What is the correct syntax?
I am using the sails SQL Server waterline adapter.
I have tried:
?ChoiceItem=isNull
?ChoiceItem=Null
?ChoiceItem="null"
I feel pretty sure it can be done.
Thanks
Upvotes: 1
Views: 1386
Reputation: 1621
You can use Waterline query language
?where={"ChoiceItem":null}
I think this should work fine.
Upvotes: 2