integrations

package
v0.0.0-...-b650ae1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

integrations package houses some utility functions for making or testing database integrations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestDatabaseImplementation

func TestDatabaseImplementation(t *testing.T, db datapasta.Database, startTable, startCol string, startVal any)

TestDatabaseImplementation is a utility to test an implemention. it just makes sure that 1 row gets cloned correctly. the row you choose as the starting point must have be referenced as a foreign key by some other table. ci is not set up, but this function is one of many tests that run against local postgres for development.

Types

This section is empty.

Jump to

Keyboard shortcuts

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