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

Method IsEmpty

testing/go/regression/tool/message_reader.go:43–45  ·  view source on GitHub ↗

IsEmpty returns true when all messages have been returned.

()

Source from the content-addressed store, hash-verified

41
42// IsEmpty returns true when all messages have been returned.
43func (mr *MessageReader) IsEmpty() bool {
44 return len(mr.queue) == 0 && mr.idx >= len(mr.messages)
45}
46
47// Next returns the next message, or nil if the reader has been exhausted.
48func (mr *MessageReader) Next() pgproto3.Message {

Callers 8

ReplayFunction · 0.95
transformUpdateFunction · 0.45
translateTableNameFunction · 0.45
convertExprFunction · 0.45
convertIndexAlterFunction · 0.45
PostgresNodeFormatterFunction · 0.45

Calls

no outgoing calls

Tested by 7

transformUpdateFunction · 0.36
translateTableNameFunction · 0.36
convertExprFunction · 0.36
convertIndexAlterFunction · 0.36
PostgresNodeFormatterFunction · 0.36