+ Start a Discussion

How to use multiple WHERE clauses in a remoteObjects call?

I can't seem to find any documentation on using multiple WHERE clauses in a remoteObjects call. The following works fine;

where : {
    OwnerId : {
         eq : userid

I am unsure how to add more. I have tried simply adding another property : object after the OwnerId but this fails. The above works absolutely fine.
Edwin VijayEdwin Vijay
I am seeing this format for the first time. Is this an SOQL query. Can you post the full query pls?

Usually, this is what i would think of

[Select ID,Name from Account where Name='test' AND Type='Partner' AND isActive__c = true]

Forcetree.com - Code Samples and Tips  (http://www.forcetree.com/" target="_blank)