prefixdb

package
v0.0.0-...-98addd5 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2017 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(prefix string, underlying driver.Driver) driver.Driver

New clones a database driver to create a new driver with the property that every statement executed will have the given prefix prepended. This is useful, for instance, to set statement-level variables like max_statement_time and long_query_time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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