model

package
v0.0.0-...-3c23f65 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	DB                 string
	Command            string
	Arguments          *birch.Document
	Metadata           *birch.Document
	Inputs             []birch.Document
	ConvertedFromQuery bool
}

type Delete

type Delete struct {
	Namespace string
	Filter    *birch.Document
}

type GetMore

type GetMore struct {
	Namespace string
	CursorID  int64
	NReturn   int32
}

type Insert

type Insert struct {
	Namespace string
	Documents []birch.Document
}

type Message

type Message struct {
	Database   string
	Collection string
	Operation  string
	MoreToCome bool
	Checksum   bool
	Items      []SequenceItem
}

type Query

type Query struct {
	Namespace string
	Skip      int32
	NReturn   int32
	Query     *birch.Document
	Project   *birch.Document
}

type Reply

type Reply struct {
	Contents       []birch.Document
	CursorID       int64
	StartingFrom   int32
	CursorNotFound bool
	QueryFailure   bool
}

type SequenceItem

type SequenceItem struct {
	Identifier string
	Documents  []birch.Document
}

type Update

type Update struct {
	Namespace string
	Filter    *birch.Document
	Update    *birch.Document

	Upsert bool
	Multi  bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL