Created
March 14, 2017 12:23
-
-
Save eamonnmcevoy/191213928ab8cbbea005456453e3e149 to your computer and use it in GitHub Desktop.
DropDatabase
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func(s *Session) DropDatabase(db string) error { | |
if(s.session != nil) { | |
return s.session.DB(db).DropDatabase() | |
} | |
return nil | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment