Join Chander Dhall for an in-depth discussion in this video Delete database, part of NoSQL Development with DocumentDB in Azure.
- [Instructor] Now that we've seen how to delete a document,…we're going to go ahead and delete our Database,…and the reason is simple,…because we don't want to keep an instance…that we're not using…and we don't want to pay for it,…so let's just go ahead and delete the Database.…It's fairly straight forward, client.deleteDatabase,…and in this case, we're going to pass in the databaseUrL,…and we might have an error, so we're going to handle that part.…If there's an error, console.log,…and that should do it for us.…
Command prompt, clear screen, node server,…and the Database should have been deleted.…We're going to go to Azure portal…and check that for ourselves.…So in this case, I would reload the portal,…just to be sure that I've really got this right.…I see a Loading in case of databases,…so I'll give it some time.…I can also go to Overview,…looks like you don't have Collections yet,…you don't have any Databases.…So you can see, there's no Collection, there's no Database.…
I can go back to Browse, and you see that Document Explorer…
- Back-end scaling fundamentals
- Fallacies of distributed computing
- Consistency models
- Data migration
- DocumentDB with .NET and Node.js
Skill Level Intermediate
1. Backend Scaling Fundamentals
2. Get Started with DocumentDB
3. DocumentDB with .NET
4. DocumentDB with Node.js
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.