Versions in this module Expand all Collapse all v1 v1.15.1 Jun 9, 2025 Changes in this version + func NewMongoDB(logger logger.Logger) state.Store + type Item struct + Etag string + Key string + TTL *time.Time + Value interface{} + type MongoDB struct + func (m *MongoDB) BulkGet(ctx context.Context, req []state.GetRequest, _ state.BulkGetOpts) ([]state.BulkGetResponse, error) + func (m *MongoDB) Close() error + func (m *MongoDB) Delete(ctx context.Context, req *state.DeleteRequest) error + func (m *MongoDB) Features() []state.Feature + func (m *MongoDB) Get(ctx context.Context, req *state.GetRequest) (*state.GetResponse, error) + func (m *MongoDB) GetComponentMetadata() (metadataInfo metadata.MetadataMap) + func (m *MongoDB) Init(ctx context.Context, metadata state.Metadata) (err error) + func (m *MongoDB) Multi(ctx context.Context, request *state.TransactionalStateRequest) error + func (m *MongoDB) Ping(ctx context.Context) error + func (m *MongoDB) Query(ctx context.Context, req *state.QueryRequest) (*state.QueryResponse, error) + func (m *MongoDB) Set(ctx context.Context, req *state.SetRequest) error + type Query struct + func (q *Query) Finalize(filters string, qq *query.Query) error + func (q *Query) VisitAND(f *query.AND) (string, error) + func (q *Query) VisitEQ(f *query.EQ) (string, error) + func (q *Query) VisitGT(f *query.GT) (string, error) + func (q *Query) VisitGTE(f *query.GTE) (string, error) + func (q *Query) VisitIN(f *query.IN) (string, error) + func (q *Query) VisitLT(f *query.LT) (string, error) + func (q *Query) VisitLTE(f *query.LTE) (string, error) + func (q *Query) VisitNEQ(f *query.NEQ) (string, error) + func (q *Query) VisitOR(f *query.OR) (string, error)