feat: add mongodb support (#82)

* feat: add mongodb enum

* fix: isMongodb var condition

* feat: add init mongodb connection

* feat: add mongodb operations for various db methods

* fix: error message
This commit is contained in:
Lakhan Samani
2021-12-20 23:21:27 +05:30
committed by GitHub
parent 2342f7c5c6
commit 65478296cb
10 changed files with 335 additions and 77 deletions

View File

@@ -8,6 +8,7 @@ const (
Mysql
SQLServer
Arangodb
Mongodb
)
func (d DbType) String() string {
@@ -17,5 +18,6 @@ func (d DbType) String() string {
"mysql",
"sqlserver",
"arangodb",
"mongodb",
}[d]
}