Skip to content

IOKI/grunt-mongo-drop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-mongo-drop

Grunt task to drop database

Installing

npm install grunt-mongo-drop-task

specify options grunt.initConfig:

    'mongo-drop': {
        options: {
            databases: [{
                dbname: 'database1',
                host: 'localhost'
            },
            {
                dbname: 'database2',
                host: 'localhost'
            }]
        }
    }

and then you can use it e.g. grunt.registerTask('drop', ['mongo-drop']);

Options with default values

databases: [{
    dbname: null,
    host: 'localhost'
}]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •