testutil

package
v0.0.0-...-f7d8b6d Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func C

func C(name string) types.Projection

C returns the Column from the testing Meta with the supplied table.column dotted notation

func M

func M() *meta.Meta

M returns the Meta we use in testing

func ResetDB

func ResetDB(dialect types.Dialect, db *sql.DB)

ResetDB resets the testing database by dropping the database tables and recreating them.

func T

func T(name string) *meta.Table

T returns the Table from the testing Meta with the supplied name

Types

This section is empty.

Jump to

Keyboard shortcuts

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