We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 558677c commit 6297703Copy full SHA for 6297703
bin/mongodb/relay-add-owner.js
@@ -0,0 +1,4 @@
1
+const owner = 'Javlonbek2418'.toLowerCase();
2
+const tourIds = 'wxjnFxN5 G8ZFMIJJ tO0H69qH'.split(' ');
3
+
4
+db.relay_tour.updateMany({ _id: { $in: tourIds } }, { $addToSet: { ownerIds: owner } });
0 commit comments