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

Function join

examples/ondeck/mysql/db_test.go:17–25  ·  view source on GitHub ↗
(vals ...string)

Source from the content-addressed store, hash-verified

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

Callers 1

runOnDeckQueriesFunction · 0.70

Calls 1

JoinMethod · 0.45

Tested by

no test coverage detected