-
Notifications
You must be signed in to change notification settings - Fork 40
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
Session support #36
Comments
First, I'll answer your questions directly:
Now, on a positive note, Mongo C Driver like all other MongoDB drivers/clients is just a wrapper around MongoDB's wire protocol. The protocol of MongoDB is essentially BSON objects going back and forth. A driver provides some basic functionality that helps the user to avoid handling basic I/O, constructing commands and parsing responses themselves. Please note that different drivers have a different level of abstraction dealing with this task. For example, the PHP driver handles most high level abstractions like instances, objects, sessions, etc. itself without relying on the underlying C driver (mongo-c-driver). There are drivers that imple There's a generic |
Hi, I'll look into the |
I'm in favour to leave this issue open to see if there's demand for this feature and it's worth implementing it in the long run. |
Hi, Sure, thanks. I'll see what I can do on my side, but I'll keep a close look on this. |
Hey,
I've been looking at the code you implemented and, first of all, thanks for all the work.
Now, I have a task at hand where I need to use a transaction to create multiple collections and commit or abort depending on the jobs' success. This should be available on the latest mongo version (4.4), so I went searching for the class in your code where the notion of transaction or session was implemented. Unfortunately, I didn't find them.
Am I missing something? Or, if not, are you planning on implementing these notions soon?
Here's the documentation I've been looking at:
Thanks in advance.
The text was updated successfully, but these errors were encountered: