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

Function makeUint32Slice

internal/engine/postgresql/utils.go:50–56  ·  view source on GitHub ↗
(in []uint64)

Source from the content-addressed store, hash-verified

48}
49
50func makeUint32Slice(in []uint64) []uint32 {
51 out := make([]uint32, len(in))
52 for i, v := range in {
53 out[i] = uint32(v)
54 }
55 return out
56}
57
58func makeString(s string) *string {
59 if s == "" {

Callers 2

convertRangeTblFunctionFunction · 0.85
convertTableFuncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected