I would like to do
let start = new Date ('2018-08-01');
let end = new Date ('2018-08-31');
let ref = db.collection ('events'). where ("dt_inicio", ">", start) .where ("dt_fim", "<", end);
Error:
Invalid query. All where filters with an inequality (<, <=, >, or >=) must be on the same field. But you have inequality filters on 'dt_inicio' and 'dt_fim'
But I get the error that is in the following link: https://cloud.google.com/appengine/docs/standard/go/datastore/query-restrictions
Is there any way I can get around the bug?