 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func New() (document.DocumentService, error)
- func NewWithClient(client *mongo.Client, database string, ctx context.Context) document.DocumentService
- type MongoDocService
- func (s *MongoDocService) Delete(key *document.Key) error
- func (s *MongoDocService) Get(key *document.Key) (*document.Document, error)
- func (s *MongoDocService) Query(collection *document.Collection, expressions []document.QueryExpression, ...) (*document.QueryResult, error)
- func (s *MongoDocService) QueryStream(collection *document.Collection, expressions []document.QueryExpression, ...) document.DocumentIterator
- func (s *MongoDocService) Set(key *document.Key, value map[string]interface{}) error
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() (document.DocumentService, error)
func NewWithClient ¶
Types ¶
type MongoDocService ¶
type MongoDocService struct {
	document.UnimplementedDocumentPlugin
	// contains filtered or unexported fields
}
    func (*MongoDocService) Query ¶
func (s *MongoDocService) Query(collection *document.Collection, expressions []document.QueryExpression, limit int, pagingToken map[string]string) (*document.QueryResult, error)
func (*MongoDocService) QueryStream ¶
func (s *MongoDocService) QueryStream(collection *document.Collection, expressions []document.QueryExpression, limit int) document.DocumentIterator
 Click to show internal directories. 
   Click to hide internal directories.