Categorygithub.com/gozix/sql/v2
modulepackage
2.1.2
Repository: https://github.com/gozix/sql.git
Documentation: pkg.go.dev

# README

GoZix SQL

Dependencies

Configuration example

{
  "sql": {
    "default": {
      "nodes": [
        "postgres://app:[email protected]:5432/app?sslmode=disable"
      ],
      "driver": "postgres",
      "max_open_conns": 10,
      "max_idle_conns": 10,
      "conn_max_lifetime": "10m"
    }
  }
}

# Functions

NewBundle create bundle instance.
NewRegistry is registry constructor.

# Constants

BundleName is default definition name.
DEFAULT is default connection name.

# Variables

ErrUnknownConnection is error triggered when connection with provided name not founded.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author