MCPcopy Create free account
hub / github.com/dolthub/doltgresql / Build

Method Build

postgres/parser/json/json.go:226–228  ·  view source on GitHub ↗

Build returns the constructed JSON array. A caller may not modify the array, and the ArrayBuilder reserves the right to re-use the array returned (though the data will not be modified). This is important in the case of a window function, which might want to incrementally update an aggregation.

()

Source from the content-addressed store, hash-verified

224// the data will not be modified). This is important in the case of a window
225// function, which might want to incrementally update an aggregation.
226func (b *ArrayBuilder) Build() JSON {
227 return jsonArray(b.jsons)
228}
229
230// ArrayBuilderWithCounter builds JSON Array by a JSON sequence with a size counter.
231type ArrayBuilderWithCounter struct {

Callers 7

RemoveStringMethod · 0.95
BuildMethod · 0.45
BuildMethod · 0.45
BuildRowIterMethod · 0.45
BuildRowIterMethod · 0.45
BuildRowIterMethod · 0.45
BuildRowIterMethod · 0.45

Calls 1

jsonArrayTypeAlias · 0.85

Tested by

no test coverage detected