function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
phil.adams1.3928016499835732E12phil.adams1.3928016499835732E12 

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)