Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

Filtering on Mixed Fields

Filtering on Mixed Fields

Using the Backend Services JavaScript SDK, you can perform complex queries that mix a Geo Point field with multiple non-Geo-Point fields. Telerik Platform does not support filtering on two or more Geo Points simultaneously.

Filtering on a Text and a Geo Point Fields

To retrieve all content items that are within 5 kilometers from a geo point named "Location" and text field containing a string "Some text" use the following snippet:

var el = new Everlive('your-app-id');
var query = new Everlive.Query();
        .nearSphere('Location', [23.379068, 42.650601], 5, 'km')
        .eq('Author', 'Some text');
var data ='type-name');
Contact us: +1-888-365-2779
Copyright © 2016-2018, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.