Skip to content
Advertisement

Tag: database

In “mongosh”, how do I delete all databases without deleting the typical “admin”, “config”, or “local” databases?

What am I trying to do? I wrote a script called deleteDatabases.js and it’s supposed to delete all databases (besides “admin”, “config”, or “local”) when inside mongosh. I do not have access to mongo, only mongosh. What is the code that currently tries to do that? deleteDatabases.js Inside mongosh: Before what I did to successfully delete these databases was: What

Firebase and JavaScript: Update fetched data on website from real time database without reloading website [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. Improve this question I want to deploy a website to Firebase. The website has to fetch data from the firebase database. If the values from the database has

Advertisement