You are not logged in.
Calculation EngineLastID (when EngineAddCompute = eacMaxIDEachTime) stopped work in mORMot with MongoDB 3.6 because now mongo require cursor in aggregate requests:
Changed in version 3.6: MongoDB 3.6 removes the use of aggregate command without the cursor option unless the command includes the explain option. Unless you include the explain option, you must specify the cursor option.
To indicate a cursor with the default batch size, specify cursor: {}.
To indicate a cursor with a non-default batch size, use cursor: { batchSize: <num> }.
https://docs.mongodb.com/manual/referen … aggregate/
My pull request with fix: https://github.com/synopse/mORMot/pull/120
Last edited by zed (2018-06-22 21:56:31)
Offline
Has been merged by https://synopse.info/fossil/info/5835f62049eefcf9
Thanks a lot for the input!
Offline