explain

package
v3.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Explain

type Explain struct {
	// contains filtered or unexported fields
}

Explain contains unexported fields of the query explainer

func New

func New(ctx context.Context, client *mongo.Client) *Explain

New returns a new instance of the query explainer

func (*Explain) Run

func (e *Explain) Run(db string, query []byte) ([]byte, error)

Run runs mongo's explain for the selected database/query

Jump to

Keyboard shortcuts

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