MCPcopy
hub / github.com/dapr/dapr / Query

Method Query

pkg/components/state/pluggable_test.go:78–84  ·  view source on GitHub ↗
(_ context.Context, req *proto.QueryRequest)

Source from the content-addressed store, hash-verified

76}
77
78func (s *server) Query(_ context.Context, req *proto.QueryRequest) (*proto.QueryResponse, error) {
79 s.queryCalled.Add(1)
80 if s.onQueryCalled != nil {
81 s.onQueryCalled(req)
82 }
83 return s.queryResp, s.queryErr
84}
85
86func (s *server) Transact(_ context.Context, req *proto.TransactionalStateRequest) (*proto.TransactionalStateResponse, error) {
87 s.transactCalled.Add(1)

Callers

nothing calls this directly

Calls 1

AddMethod · 0.65

Tested by

no test coverage detected