MCPcopy Index your code
hub / github.com/sqlc-dev/sqlc / join

Function join

examples/ondeck/sqlite/db_test.go:22–30  ·  view source on GitHub ↗
(vals ...string)

Source from the content-addressed store, hash-verified

20)
21
22func join(vals ...string) sql.NullString {
23 if len(vals) == 0 {
24 return sql.NullString{}
25 }
26 return sql.NullString{
27 Valid: true,
28 String: strings.Join(vals, ","),
29 }
30}
31
32func runOnDeckQueries(t *testing.T, q *Queries) {
33 ctx := context.Background()

Callers 1

runOnDeckQueriesFunction · 0.70

Calls 1

JoinMethod · 0.45

Tested by

no test coverage detected