-
Type: Bug
-
Resolution: Won't Do
-
Priority: Minor - P4
-
None
-
Affects Version/s: 1.20.3
-
Component/s: Aggregation pipeline, Export to Language
-
None
The MongoDB Java sync driver limit stage takes an integer in param and not a long.
So below it should be `limit(3)` instead of `limit(3L)`.
Else it doesn't compile in Java.
You don't have to take my word for it !