Commit 4818024
authored
[java-shell] support bson types. Use GraalVM Value instead of Map to avoid incorrect automatic conversion (#197)
* [java-shell] add insertMany test
* [java-shell] use Value instead of Map<*, *> because graalvm fails to convert Value to Map<*, *>
* [java-shell] support regexp
* [java-shell] implement cursor methods: comment, max, skip
* [java-shell] support some commands of bulkWrite
* [java-shell] runCommand and stats methods return JS object instead of java Document
* [java-shell] support deleteOne
* [java-shell] support findOneAndUpdate
* [java-shell] convert all parameters to Document
* [java-shell] support updateMany
* [java-shell] support findOneAndDelete
* [java-shell] support runCommand with string
* [java-shell] support bson types
ObjectId, MinKey, MaxKey, Code, DBRef, NumberDecimal, NumberInt, Timestamp, Symbol, NumberLong, ISODate, BinData
HexData, UUID, MD5
* [java-shell] support updateOne
* [java-shell] support createIndex and createIndexes
* [java-shell] drop collection after each test case
* [java-shell] support dropIndexes
* [java-shell] support cursor.map
* [java-shell] support InsertManyResult
* [java-shell] add test for aggregate with varargs
* [java-shell] ignore UUID tests1 parent dfc252e commit 4818024
File tree
162 files changed
+1556
-361
lines changed- packages
- async-rewriter
- java-shell/src
- main
- js
- kotlin/com/mongodb/mongosh
- result
- service
- test
- kotlin/com/mongodb/mongosh
- resources
- collection
- cursor
- db
- literal
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
162 files changed
+1556
-361
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
0 commit comments