Skip to content

Move query logic into mongo #1885

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

Merged

Conversation

drew-gross
Copy link
Contributor

  • Move some query related logic that uses mongo format into the mongo adapter.
  • Move some Parse Server related logic out of MongoTransform and into Parse Server
  • Fix a bunch of bugs involving untransforming Parse Objects by splitting untransformation of nested objects into it's own function.

@codecov-io
Copy link

codecov-io commented May 23, 2016

Current coverage is 91.79%

Merging #1885 into master will decrease coverage by 0.19%

  1. File ...go/MongoTransform.js was modified. more
    • Misses +6
    • Partials 0
    • Hits -6
@@             master      #1885   diff @@
==========================================
  Files            91         91          
  Lines          6376       6395    +19   
  Methods        1102       1105     +3   
  Messages          0          0          
  Branches       1332       1343    +11   
==========================================
+ Hits           5866       5870     +4   
- Misses          510        525    +15   
  Partials          0          0          

Powered by Codecov. Last updated by 6b28075...c978be8

@flovilmart
Copy link
Contributor

LGTM.

@flovilmart flovilmart merged commit 614e1ac into parse-community:master May 23, 2016
@drew-gross drew-gross deleted the move-query-logic-into-mongo branch May 24, 2016 00:12
JeremyPlease pushed a commit to JeremyPlease/parse-server that referenced this pull request May 24, 2016
* Move Parse Server logic into Parse Server and out of MongoAdapter

* Move untransforming up one level

* Make find() in MongoStorageAdapter

* Put nested object untransforming into it's own function

* Simplfy nested untransform

* Don't mess with inner object keys called _auth_data_*

* Prevent untransforming inner object keys named _p_*

* Fix inner keys named _rperm, _wperm

* Fix bugs with inner objects behaving strange when other fields have same name as key in specific circumstances

* remove params from untransform nested object

* Revert changes to find
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.

3 participants