-
Notifications
You must be signed in to change notification settings - Fork 1.5k
-
I have this code:
$query->whereIn('lesson_id', [new \MongoDB\BSON\ObjectId('5fdd41cfc8c832ba57cdb3a6'), new \MongoDB\BSON\ObjectId('5fd84e467f180d5db02be90f')]);
but since I don't want to always declare the new \MongoDB\BSON\ObjectId
, is their a better way to do this?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment