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 queries on joins and fix nested joins #43

Merged
merged 1 commit into from Feb 5, 2019

Conversation

Emily
Copy link
Collaborator

@Emily Emily commented Feb 4, 2019

@kesne see title.

Fixes #40.

@Emily Emily requested a review from kesne February 4, 2019 07:04
@@ -36,7 +36,8 @@
},
"dependencies": {
"pg": "^7.7.1",
"squel": "^5.12.2"
"squel": "^5.12.2",
"@fewer/sq": "^0.1.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

is this a required dep or just a dev dep?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Probably just devDep

export type SelectJoin = {
keys: [string, string];
tableName: string;
select: Select;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think at some point we should make the context getter flatten all of the contexts, so that you never have to call .context anywhere in the adapter.

@Emily Emily merged commit 63bda5d into master Feb 5, 2019
@Emily Emily deleted the wheres-on-nested-join branch February 5, 2019 18:28
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.

None yet

2 participants