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
Suraj PSuraj P 

how do i retrieve records with a null value for a decimal field type using visualforce remote objects?

I'm trying to retrieve Account records in my Visualforce page using Remote Objects. However, when I attempt to query for records with a null value for BillingLatitude, I get an error. Apparently, any value I type in the critieria is being interpreted as a String since the error message shows quotes around the values. Any ideas?

The following ways don't seem to work:
new SObjectModel.Account().retrieve({where:{BillingLatitude:{eq:null}}});
new SObjectModel.Account().retrieve({where:{BillingLatitude:{eq:''}}});