MCPcopy Index your code
hub / github.com/aarondl/sqlboiler / scanLinearArray

Function scanLinearArray

types/array.go:1281–1290  ·  view source on GitHub ↗
(src, del []byte, typ string)

Source from the content-addressed store, hash-verified

1279}
1280
1281func scanLinearArray(src, del []byte, typ string) (elems [][]byte, err error) {
1282 dims, elems, err := parseArray(src, del)
1283 if err != nil {
1284 return nil, err
1285 }
1286 if len(dims) > 1 {
1287 return nil, fmt.Errorf("boil: cannot convert ARRAY%s to %s", strings.ReplaceAll(fmt.Sprint(dims), " ", "]["), typ)
1288 }
1289 return elems, err
1290}

Callers 6

scanBytesMethod · 0.85
scanBytesMethod · 0.85
scanBytesMethod · 0.85
scanBytesMethod · 0.85
scanBytesMethod · 0.85
scanBytesMethod · 0.85

Calls 1

parseArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…