mongodb-go-tutorial icon indicating copy to clipboard operation
mongodb-go-tutorial copied to clipboard

findOptions.SetLimit not work

Open monyee opened this issue 4 years ago • 0 comments

when i run this demo in local env

i got the logs:

Found multiple documents (array of pointers): [0xc000052a80 0xc000052ab0 0xc000052b70 0xc000052ba0 0xc000052bd0 0xc000052c00]

findOptions.SetLimit(2) why not six?

monyee avatar May 05 '20 13:05 monyee