Allow disabling workaround for since-fixed MongoDB bug (#5617)
* Allow disabling workaround for fixed MongoDB bug * skipMongoDBServer13732Workaround description fix * flip test boolean * Remove CLI flag, use databaseVersion & engine * Revert "Remove CLI flag, use databaseVersion & engine" This reverts commit 042d1ba19f636fe0da06074168c6fd5db37ea048. * clean up
This commit is contained in:
committed by
Diamond Lewis
parent
fcdf2d7947
commit
559096f1c2
@@ -818,9 +818,9 @@ export class MongoStorageAdapter implements StorageAdapter {
|
||||
// Pass objects down to MongoDB...this is more than likely an $exists operator.
|
||||
returnValue[`_p_${field}`] = pipeline[field];
|
||||
} else {
|
||||
returnValue[`_p_${field}`] = `${schema.fields[field].targetClass}$${
|
||||
pipeline[field]
|
||||
}`;
|
||||
returnValue[
|
||||
`_p_${field}`
|
||||
] = `${schema.fields[field].targetClass}$${pipeline[field]}`;
|
||||
}
|
||||
} else if (
|
||||
schema.fields[field] &&
|
||||
|
||||
Reference in New Issue
Block a user