-
Notifications
You must be signed in to change notification settings - Fork 1.5k
-
i want to use mongodb collection::watch() in laravel so when change occure in mongodb collection i can update my mysql table
i connect both mysql and mongodb in laravel
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
Hello, the best solution is to use the mongodb/mongodb
features directly.
/** @var \MongoDB\Laravel\Connection */ $mongodb = DB::connection('mongodb');
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment