Just started using Hood.ie - have a question with finding and updating data.
I have a type called 'who' within which i have stored a 'personId' and 'time'. What i want to do is search 'who' for 'personId' I specify then update record which is empty.
So i can do basic updates like
hoodie.store.update('whosin', clicked_id, { timeOut: Date() });
but how do i do the more complicated one with hood.ie as above - something roughly like:
hoodie.store.update('whosin', personID = clicked_id, { timeOut: Date() WHERE timeOut = "" });