db

package
v0.0.0-...-361bf8e Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package db implements common DB functions for the reflex example servers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

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

Connect to the db

func ConnectForTesting

func ConnectForTesting(t *testing.T, uri, schemaPath string) (*sql.DB, error)

ConnectForTesting to the db and create a temporary schema

Types

This section is empty.

Jump to

Keyboard shortcuts

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