Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

18 lines (14 sloc) 592 Bytes
package driver
import "context"
// BulkGetReference is a reference to a document given in a BulkGet query.
type BulkGetReference struct {
ID string `json:"id"`
Rev string `json:"rev,omitempty"`
AttsSince string `json:"atts_since,omitempty"`
}
// BulkGetter is an optional interface which may be implemented by a driver to
// support bulk get operations.
type BulkGetter interface {
// BulkGet uses the _bulk_get interface to fetch multiple documents in a single query.
BulkGet(ctx context.Context, docs []BulkGetReference, options map[string]interface{}) (Rows, error)
}
You can’t perform that action at this time.