Replies: 1 comment
-
Hello, the best solution is to use the /** @var \MongoDB\Laravel\Connection */
$mongodb = DB::connection('mongodb'); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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