1.0.5 • Published 3 years ago
@addaleax/test-mongosh-snippet-mongocompat v1.0.5
mongocompat
Provide mongo
legacy shell compatibility APIs.
> Array.sum([1, 2, 3])
6
> tojsononeline({a:1,b:2,c:3})
{ "a" : 1, "b" : 2, "c" : 3 }
Provide mongo
legacy shell compatibility APIs.
> Array.sum([1, 2, 3])
6
> tojsononeline({a:1,b:2,c:3})
{ "a" : 1, "b" : 2, "c" : 3 }