hyperledger-archives / aries-framework-go-ext

https://wiki.hyperledger.org/display/aries
Apache License 2.0
14 stars 22 forks source link

feat: Added GetBulkAsRawMap function to the MongoDB API #259

Closed bstasyszyn closed 2 years ago

bstasyszyn commented 2 years ago

GetBulkAsRawMap returns a slice of 'raw' maps, one for each of the specified keys.

Also exposed PrepareFilter and CreateMongoDBFindOptions so that clients may prepare queries for use with the QueryCustom function.

Signed-off-by: Bob Stasyszyn Bob.Stasyszyn@securekey.com

codecov[bot] commented 2 years ago

Codecov Report

Merging #259 (1457bfd) into main (55b4fab) will increase coverage by 2.41%. The diff coverage is 66.66%.

:exclamation: Current head 1457bfd differs from pull request most recent head be0461a. Consider uploading reports for the commit be0461a to get more accurate results

@@            Coverage Diff             @@
##             main     #259      +/-   ##
==========================================
+ Coverage   85.82%   88.23%   +2.41%     
==========================================
  Files          26        1      -25     
  Lines        3992      799    -3193     
==========================================
- Hits         3426      705    -2721     
+ Misses        334       52     -282     
+ Partials      232       42     -190     
Impacted Files Coverage Δ
component/storage/mongodb/store.go 88.23% <66.66%> (-1.74%) :arrow_down:
...nt/vdr/trustbloc/config/signatureconfig/helpers.go
...vdr/trustbloc/selection/staticselection/service.go
...omponent/vdr/trustbloc/didconfiguration/helpers.go
component/storage/mysql/store.go
...nt/vdr/trustbloc/config/verifyingconfig/service.go
component/vdr/orb/internal/ldcontext/ldcontext.go
component/vdr/trustbloc/endpoint/service.go
component/vdr/sidetree/option.go
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 55b4fab...be0461a. Read the comment docs.