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

Function TestQueries

examples/ondeck/sqlite/db_test.go:163–171  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

161}
162
163func TestQueries(t *testing.T) {
164 t.Parallel()
165
166 sdb, cleanup := sqltest.SQLite(t, []string{"schema"})
167 defer sdb.Close()
168 defer cleanup()
169
170 runOnDeckQueries(t, New(sdb))
171}

Callers

nothing calls this directly

Calls 4

SQLiteFunction · 0.92
runOnDeckQueriesFunction · 0.70
NewFunction · 0.70
CloseMethod · 0.65

Tested by

no test coverage detected