sql

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package sql provides functions for interacting with MySQL.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDeadlock

func IsDeadlock(err error) bool

IsDeadlock returns true if the error reports that a deadlock occurred.

func Open

func Open(dsn string) (*sql.DB, error)

Open the MySQL database specified by the dsn string.

Types

This section is empty.

Directories

Path Synopsis
Package directory implements the directory.Storage interface.
Package directory implements the directory.Storage interface.
Package mutationstorage defines operations to write and read mutations to and from the database.
Package mutationstorage defines operations to write and read mutations to and from the database.
Package testdb supports opening ephemeral databases for testing.
Package testdb supports opening ephemeral databases for testing.

Jump to

Keyboard shortcuts

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