MonsterChenzhuo commented on code in PR #3697:
URL:
https://github.com/apache/incubator-seatunnel/pull/3697#discussion_r1046640754
##########
docs/en/connector-v2/source/MongoDB.md:
##########
@@ -66,6 +71,7 @@ mongodb {
uri =
"mongodb://username:[email protected]:27017/mypost?retryWrites=true&writeConcern=majority"
database = "mydatabase"
collection = "mycollection"
+ matchQuery = "{"id":3}"
Review Comment:
> The core is this method:
.find(Optional.ofNullable(params.getMatchQuery()).isPresent() ?
BsonDocument.parse(params.getMatchQuery()) : new BsonDocument()) I have tested
in my development env example mode, it is ok
Because I consider one thing is: the query statement is best to conform to
the native syntax of mongodb, this will be very friendly to the developer, he
does not need to learn anything extra, directly paste the history of mongodb
query statement can be used
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]