mongodb / laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel (Moloquent)
https://www.mongodb.com/compatibility/mongodb-laravel-integration
MIT License
7k stars 1.43k forks source link

Transaction #463

Closed RemiCollin closed 6 years ago

RemiCollin commented 9 years ago

When running a transaction through the mongodb driver, laravel returns an exception.

Is it possible to support them on a MongoDB database ?

jenssegers commented 9 years ago

Transactions are not support at this moment.

RemiCollin commented 9 years ago

In that case, maybe it would be cleaner to throw a more explicit exception from the child Connection class, what do you think ?

lukepolo commented 9 years ago

:+1: , i may work on this soon. As I will be needing this for testing ~

JoeyHoutenbos commented 9 years ago

Would love to see this feature =)

chasen commented 9 years ago

:+1:

webland2 commented 8 years ago

what is the status of this feature?

ghost commented 8 years ago

Trying to port Baum\Baum nested sets to use jenssegers/laravel-mongodb , but they are using transactions and they aren't supported by this mongodb implementation.

korobkadima commented 8 years ago

what is the status of this feature?

clementbirkle commented 7 years ago

Do you plan to set up this next feature? It seems to me to be an indispensable feature. I found this package but it didn't try it: https://github.com/matryoshka-model/mongo-transactional

sathishkumarls commented 7 years ago

:thumbsup:

CHOMNANP commented 7 years ago

Anyone manage to get this work yet?

Thanks, Punleu

YuriScarbaci commented 7 years ago

Need just this feature to migrate from mySql database to the MongoDB database, Any news on it, is some1 looking to implement this or is it just forgotten? any work around to grant my application atomocity on multiple documents and operations?

salalaslam commented 5 years ago

https://github.com/jenssegers/laravel-mongodb/issues/1334#issuecomment-475139754