db

package
v0.0.0-...-b0cf81e Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cursors = rsql.NewCursorsTable("client_cursors")

Cursors is an example cursors table

Functions

func Connect

func Connect() (*sql.DB, error)

Connect to the mysql db

func ConnectForTesting

func ConnectForTesting(t *testing.T) *sql.DB

ConnectForTesting connects to the database and resets to the schema in schema.sql

Types

This section is empty.

Jump to

Keyboard shortcuts

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