0

I would like to fetch all objects where paidDate is not set yet.

let query = PFQuery(className:"Salary")        
query.whereKey("paidDate", equalTo: nil)
query.findObjectsInBackground { (objects, error) in
...

I don't want to put a specific date to a query. The fact that paidDate was not set means that salary was not paid, so I would like to get all unpaid salaries.

Is this possible to make such query?

Matrosov Oleksandr
  • 25,505
  • 44
  • 151
  • 277

0 Answers0