mysql

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package mysql provides backend for MySQL and compatible databases.

Design principles

  1. Metadata is heavily cached to avoid most queries and transactions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBackend

func NewBackend(params *NewBackendParams) (backends.Backend, error)

NewBackend creates a new Backend.

Types

type NewBackendParams

type NewBackendParams struct {
	URI string
	L   *zap.Logger
	P   *state.Provider
	// contains filtered or unexported fields
}

NewBackendParams represents the parameters of NewBackend function.

Directories

Path Synopsis
Package metadata provides access to databases and collections information.
Package metadata provides access to databases and collections information.
pool
Package pool provides access to MySQL connections.
Package pool provides access to MySQL connections.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL