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.
Click to show internal directories.
Click to hide internal directories.