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

mongo data provider implementation #32

Merged
merged 5 commits into from
Sep 14, 2021
Merged

mongo data provider implementation #32

merged 5 commits into from
Sep 14, 2021

Conversation

Idokah
Copy link
Collaborator

@Idokah Idokah commented Sep 13, 2021

No description provided.

@Idokah Idokah requested a review from noam-almog September 13, 2021 14:27
@noam-almog
Copy link
Collaborator

enable CI for mongo with this PR

@Idokah Idokah merged commit 456e387 into master Sep 14, 2021
this.filterParser = filterParser
this.sql = pool
this.pool = this.client.db(dbName(client))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this.client.db()

}

async aggregate(collectionName, filter, aggregation) {
const { fieldsStatement, havingFilter } = this.filterParser.parseAggregation(aggregation.processingStep, aggregation.postFilteringStep)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parse aggregation should return { $group: fieldsStatement }, { $match: havingFilter }

@noam-almog noam-almog deleted the implement-mongodb branch November 21, 2021 13:34
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.

2 participants