Wernfried

My feedback

22 results found

  1. 3 votes
    How important is this to you?
    Wernfried supported this idea  · 
  2. 6 votes
    How important is this to you?
    An error occurred while saving the comment
    Wernfried commented  · 

    Can be done with a single command:

    db.exists() -> db.adminCommand( { listDatabases: 1 , filter: { name: 'db' } } ).databases.length > 0

    and

    collections.exists() -> db.getCollectionNames().includes('collections')

2 Next →

Feedback and Knowledge Base