Log file Viewer
Help
|
Karma
| Search:
#mongodb logs for Tuesday the 31st of August, 2021
(
Back to #mongodb overview
) (
Back to channel listing
) (
Animate logs
)
[
12:02:42
] <
Lope
> After connecting to a MongoDB in node.js
[
12:03:03
] <
Lope
> I tried to delete the collection object, then make another collection object, for the same collection name.
[
12:03:37
] <
Lope
> But got an error: 'There is already a collection named "foo"'
[
12:24:45
] <
chia
> have you read the documentation
[
12:25:56
] <
chia
> https://exceptionshub.com/how-to-check-if-a-collection-exists-in-mongodb-native-nodejs-driver.html
[
13:22:47
] <
cheeser
> how did you try to delete it?