Thursday, 19 February 2015

mongodb : Drop collection


Syntax
db.collection_name.drop().

> show collections;
address
employee
system.indexes
>
> db.address.drop()
true
>
> show collections;
employee
system.indexes
>

Prevoius                                                 Next                                                 Home

No comments:

Post a Comment