mongodb-go-tutorial
mongodb-go-tutorial copied to clipboard
findOptions.SetLimit not work
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?