github.com/jackc/pgx/v5/pgtype.ArrayDimension.Length (field)
23 uses
github.com/jackc/pgx/v5/pgtype (current package)
array.go#L26: Length int32
array.go#L36: elementCount := int(dimensions[0].Length)
array.go#L38: elementCount *= int(d.Length)
array.go#L73: dst.Dimensions[i].Length = int32(binary.BigEndian.Uint32(src[rp:]))
array.go#L95: buf = pgio.AppendInt32(buf, src.Dimensions[i].Length)
array.go#L170: explicitDimensions = append(explicitDimensions, ArrayDimension{LowerBound: lower, Length: upper - lower + 1})
array.go#L183: implicitDimensions := []ArrayDimension{{LowerBound: 1, Length: 0}}
array.go#L193: implicitDimensions[len(implicitDimensions)-1].Length = 1
array.go#L212: implicitDimensions[currentDim].Length++
array.go#L228: implicitDimensions[currentDim].Length++
array.go#L359: buf = append(buf, strconv.FormatInt(int64(dim.LowerBound+dim.Length-1), 10)...)
array.go#L439: return []ArrayDimension{{Length: int32(len(a)), LowerBound: 1}}
array_codec.go#L113: dimElemCounts[len(dimensions)-1] = int(dimensions[len(dimensions)-1].Length)
array_codec.go#L115: dimElemCounts[i] = int(dimensions[i].Length) * dimElemCounts[i+1]
builtin_wrappers.go#L756: return []ArrayDimension{{Length: int32(a.slice.Len()), LowerBound: 1}}
builtin_wrappers.go#L801: a.dims = append(a.dims, ArrayDimension{Length: int32(s.Len()), LowerBound: 1})
builtin_wrappers.go#L823: dimLen := int(a.dims[j].Length)
builtin_wrappers.go#L889: endIdx := flatSliceIdx + int(dimensions[0].Length)
builtin_wrappers.go#L893: sliceLen := int(dimensions[0].Length)
builtin_wrappers.go#L896: subSlice := a.makeMultidimensionalSlice(sliceType.Elem(), dimensions[1:], flatSlice, flatSliceIdx+(i*int(dimensions[1].Length)))
builtin_wrappers.go#L919: return []ArrayDimension{{Length: int32(a.array.Len()), LowerBound: 1}}
builtin_wrappers.go#L939: if int(dimensions[0].Length) != a.array.Len() {
builtin_wrappers.go#L940: return fmt.Errorf("anyArrayArrayReflect: cannot scan array with length %v into %v", dimensions[0].Length, a.array.Type().String())