I have the following:
User_Model.findAll(
("online" -> ("$gt" -> (
(System.currentTimeMillis() / 1000) - 60
))
)
What I’m trying to do is somehow define which fields for each record will be returned, rather than pulling the whole object.
Thanks in advance for any help, much appreciated 🙂
Just in case anyone is looking for a reference, this is how I ended up doing it: