File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ const urlSafeKey = new entity.URLSafeKey();
215
215
* // Multiple records can be found that match criteria with
216
216
* // {@link Query#filter }.
217
217
* //-
218
- * query.filter('location', 'CA');
218
+ * query.filter(new PropertyFilter( 'location', '=', ' CA') );
219
219
*
220
220
* //-
221
221
* // Records can also be ordered with {@link Query#order }.
@@ -1335,8 +1335,8 @@ class Datastore extends DatastoreRequest {
1335
1335
* //-
1336
1336
* const query = datastore.createQuery('Company');
1337
1337
* const companyQuery = query
1338
- * .filter('geoPoint.latitude', datastore.double(40.123))
1339
- * .filter('geoPoint.longitude', datastore.double(-74.0447));
1338
+ * .filter(new PropertyFilter( 'geoPoint.latitude', '=', datastore.double(40.123) ))
1339
+ * .filter(new PropertyFilter( 'geoPoint.longitude', '=', datastore.double(-74.0447) ));
1340
1340
* ```
1341
1341
*/
1342
1342
static geoPoint ( coordinates : entity . Coordinates ) {
You can’t perform that action at this time.
0 commit comments