MCPcopy Create free account
hub / github.com/uptrace/bun / ReadSubstring

Method ReadSubstring

dialect/pgdialect/parser.go:31–33  ·  view source on GitHub ↗
(ch byte)

Source from the content-addressed store, hash-verified

29}
30
31func (p *pgparser) ReadSubstring(ch byte) ([]byte, error) {
32 return p.readSubstring(ch, true)
33}
34
35func (p *pgparser) readSubstring(ch byte, escaped bool) ([]byte, error) {
36 ch, err := p.ReadByte()

Callers 1

readNextMethod · 0.80

Calls 1

readSubstringMethod · 0.95

Tested by

no test coverage detected