# Functions
NewDSN takes given database options and returns parsed DSN.
OpenDB opens a new database connection encapsulated as gorm.DB using given database options and GORM config.
ParseMSSQLHostPort parses given input in various forms for MSSQL and returns proper host and port number.
ParsePostgreSQLHostPort parses given input in various forms defined in https://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-CONNSTRING and returns proper host and port number.
Quote adds surrounding double quotes for all given arguments before being formatted if the current database is UsePostgreSQL.