Documentation ¶
Overview ¶
result.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶ added in v0.3.0
type Collection interface { SetCollection(name string) Find(ctx context.Context, filter []byte, sort []byte, project []byte, limit int64, skip int64) chan models.QueryResult Count(ctx context.Context, filter []byte) chan models.CountResult EstimatedCount(ctx context.Context) chan models.CountResult }
type Connecter ¶
type Connecter interface { Connect(ctx context.Context, connection *models.Connection) chan error Disconnect(ctx context.Context, connectionURI string) error DisconnectAll(ctx context.Context) error GetDatabases(ctx context.Context, connectionURI string) ([]string, error) }
Connecter provides an interface for database connection functions.
type ResultList ¶ added in v0.3.0
type ResultList struct {
// contains filtered or unexported fields
}
func CreateResultList ¶ added in v0.3.0
func CreateResultList() ResultList
func (*ResultList) Add ¶ added in v0.3.0
func (resultList *ResultList) Add(convertSource func() map[string]interface{})
func (*ResultList) Get ¶ added in v0.3.0
func (resultList *ResultList) Get() []document
Click to show internal directories.
Click to hide internal directories.