jeroen / mongolite

Fast and Simple MongoDB Client for R
https://jeroen.github.io/mongolite/
286 stars 65 forks source link

Add database name to mongo info function #141

Closed Serenthia closed 6 years ago

Serenthia commented 6 years ago

resolves #140

Includes the database name at the top level of info(), meaning it can be read when the collection is new and info()$stats is null.

Serenthia commented 6 years ago

@jeroen Any suggestions re: the Travis errors? Looks like they're related to warnings on flags in Makevars, so out of scope of the PR.

codecov-io commented 6 years ago

Codecov Report

Merging #141 into master will increase coverage by 0.03%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #141      +/-   ##
==========================================
+ Coverage   37.58%   37.62%   +0.03%     
==========================================
  Files         129      125       -4     
  Lines       21833    20108    -1725     
==========================================
- Hits         8207     7565     -642     
+ Misses      13626    12543    -1083
Impacted Files Coverage Δ
R/mongo.R 50.31% <0%> (-0.33%) :arrow_down:
src/bson.c 36.71% <0%> (-21.1%) :arrow_down:
src/mongoc/mongoc-stream-gridfs.c 62.06% <0%> (-17.25%) :arrow_down:
src/mongoc/mongoc-stream.c 53.57% <0%> (-16.18%) :arrow_down:
src/mongoc/mongoc-cursor.c 25.11% <0%> (-9.71%) :arrow_down:
src/mongoc/mongoc-write-concern.c 23.07% <0%> (-7.43%) :arrow_down:
src/mongoc/mongoc-handshake.c 60.56% <0%> (-6.9%) :arrow_down:
src/mongoc/mongoc-read-prefs.c 30.08% <0%> (-5.12%) :arrow_down:
src/mongoc/mongoc-topology-description.c 51.06% <0%> (-5.03%) :arrow_down:
src/gridfs.c 79.71% <0%> (-5.02%) :arrow_down:
... and 82 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 9fd95af...2595e7c. Read the comment docs.