-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to set timeout #136
Comments
Yup, it will be very helpful feature |
On crud operations you have to use the "modern" methods. var res = await collection.modernFind(filter: {
'rating': {r'$gt': 60}
}, sort: {
'state': 1,
'name': 1
}, findOptions: FindOptions(maxTimeMS: 5000)).toList(); |
Can we set a timeout on the open() command? |
Is there any way to do the same with an insert or delete ? |
How do I set the timeout period when I connect to db |
Hi,
How can I set a timeout for opening a connection and querying data?
Thanks
The text was updated successfully, but these errors were encountered: