postgresql

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: 28 Imported by: 0

Documentation

Overview

Package postgresql provides backend for PostgreSQL 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 PostgreSQL connections.
Package pool provides access to PostgreSQL connections.

Jump to

Keyboard shortcuts

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