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 (

	// Events1 is an events table
	Events1 = rsql.NewEventsTable("server_events1")
	// Events2 is an events table
	Events2 = rsql.NewEventsTable("server_events2")
	// Cursors is a cursor table
	Cursors = rsql.NewCursorsTable("server_cursors")
)

Functions

func Connect

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

Connect connects to the db

func ConnectForTesting

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

ConnectForTesting connects to the db 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