MCPcopy
hub / github.com/sqlc-dev/sqlc / PostgreSQL

Function PostgreSQL

internal/sqltest/local/postgres.go:25–27  ·  view source on GitHub ↗
(t *testing.T, migrations []string)

Source from the content-addressed store, hash-verified

23var cache = poolcache.New()
24
25func PostgreSQL(t *testing.T, migrations []string) string {
26 return postgreSQL(t, migrations, true)
27}
28
29func ReadOnlyPostgreSQL(t *testing.T, migrations []string) string {
30 return postgreSQL(t, migrations, false)

Callers 7

TestExamplesVetFunction · 0.92
TestValidSchemaFunction · 0.92
TestBooksFunction · 0.92
TestAuthorsFunction · 0.92
TestPreparedFunction · 0.92
TestQueriesFunction · 0.92
TestBatchBooksFunction · 0.92

Calls 1

postgreSQLFunction · 0.85

Tested by 7

TestExamplesVetFunction · 0.74
TestValidSchemaFunction · 0.74
TestBooksFunction · 0.74
TestAuthorsFunction · 0.74
TestPreparedFunction · 0.74
TestQueriesFunction · 0.74
TestBatchBooksFunction · 0.74