Aggregate supports group by date fields (#5538)
* it actually supports group by date fields * Changing the field name again to see Travis logs * Adding match stage to the test * Adding test for group by date fields on postgres
This commit is contained in:
committed by
Diamond Lewis
parent
43c41925a2
commit
db994ed473
@@ -765,12 +765,6 @@ export class MongoStorageAdapter implements StorageAdapter {
|
||||
maxTimeMS: this._maxTimeMS,
|
||||
})
|
||||
)
|
||||
.catch(error => {
|
||||
if (error.code === 16006) {
|
||||
throw new Parse.Error(Parse.Error.INVALID_QUERY, error.message);
|
||||
}
|
||||
throw error;
|
||||
})
|
||||
.then(results => {
|
||||
results.forEach(result => {
|
||||
if (result.hasOwnProperty('_id')) {
|
||||
|
||||
Reference in New Issue
Block a user