InitDBWithSchemas initializes database using schemas stored in Manager
(dbType, dbConnection string, initDBParams InitDBParams)
| 316 | |
| 317 | // InitDBWithSchemas initializes database using schemas stored in Manager |
| 318 | func InitDBWithSchemas(dbType, dbConnection string, initDBParams InitDBParams) error { |
| 319 | aDb, err := ConnectDB(dbType, dbConnection, DefaultMaxOpenConn, options.Default()) |
| 320 | if err != nil { |
| 321 | return err |
| 322 | } |
| 323 | defer aDb.Close() |
| 324 | return InitDBConnWithSchemas(aDb, initDBParams) |
| 325 | } |
nothing calls this directly
no test coverage detected