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

Implement Remove component #8

Open
fanchen1988 opened this issue Apr 26, 2016 · 0 comments
Open

Implement Remove component #8

fanchen1988 opened this issue Apr 26, 2016 · 0 comments

Comments

@fanchen1988
Copy link
Collaborator

No description provided.

@fanchen1988 fanchen1988 changed the title Implement Remove translation Implement Remove component May 3, 2016
fanchen1988 pushed a commit that referenced this issue Aug 8, 2016
Write base does following jobs:
0.) Detect if it's write or not
1.) Detect the write type: raw, insert, update, upsert or remove?
2.) Defined the write operation interface
3.) Make insert object as an array
fanchen1988 pushed a commit that referenced this issue Aug 8, 2016
0.) Mongo update/upsert will automatically set a `$set` operator to
update doc
1.) Mongo remove should translate nothing because remove only has a
`query` doc
2.) Defined write test-cases(including Postgres cases), as well as Mongo
raw test cases. Impelment Mongo write tests
fanchen1988 pushed a commit that referenced this issue Aug 8, 2016
0.) Postgres upsert will translate the query as a simple request, to
construct the insert doc along with update doc
1.) Postgre remove return empty 'cause remove should put remove doc in
the query
2.) Implement Postgres tests and raw test
fanchen1988 pushed a commit that referenced this issue Aug 8, 2016
…and #8

0.) Refactor Mongo component to process query, facet and write
appropriately
1.) Add more returned keys into Mongo translate
2.) Add write relevant test cases into translate test-cases(including
  Postgres test cases)
3.) Add write and write raw tests into Mongo translate
fanchen1988 pushed a commit that referenced this issue Aug 8, 2016
0.) Refactor Postgres component to process query, raw, facet and write
1.) Refactor Postgres translate to assemble translated object to actual
SQL statement according to different keys
2.) Posgres translate will process sub query if applicative
3.) Implement Postgres translate write and raw write tests
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

No branches or pull requests

1 participant