Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

兼容AWS DocumentDB #1647

Merged
merged 1 commit into from
Jul 1, 2022
Merged

Conversation

nick2wang
Copy link
Collaborator

fix #1258 fix #1646
mongo engine获取字段列表的逻辑是使用$natural排序取首尾两条记录的字段并集,而AWS DocumentDB部分版本并不支持$natural修饰符,所以修改为按_id排序

@codecov
Copy link

codecov bot commented Jun 29, 2022

Codecov Report

Merging #1647 (fb8e2a4) into master (2a945f5) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master    #1647   +/-   ##
=======================================
  Coverage   75.70%   75.70%           
=======================================
  Files          91       91           
  Lines       14212    14212           
=======================================
  Hits        10759    10759           
  Misses       3453     3453           
Impacted Files Coverage Δ
sql/engines/mongo.py 44.91% <0.00%> (ø)

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 2a945f5...fb8e2a4. Read the comment docs.

@nick2wang nick2wang merged commit d681cc7 into hhyo:master Jul 1, 2022
@nick2wang nick2wang deleted the documentdb-compatible branch July 1, 2022 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mongoDB查询报错 [ 问题咨询 ]mongo SQL查询,点击 ‘查看集合字段’ 时报错
2 participants