cockroach: Index | Files

package sqlstream

import ""

Package sqlstream streams an io.Reader into SQL statements.


Package Files


type Stream Uses

type Stream struct {
    // contains filtered or unexported fields

Stream streams an io.Reader into tree.Statements.

func NewStream Uses

func NewStream(r io.Reader) *Stream

NewStream returns a new Stream to read from r.

func (*Stream) Next Uses

func (s *Stream) Next() (tree.Statement, error)

Next returns the next statement, or io.EOF if complete.

Package sqlstream imports 6 packages (graph) and is imported by 2 packages. Updated 2020-05-16. Refresh now. Tools for package owners.