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

feat: use views instead of subqueries #27

Merged
merged 1 commit into from
Aug 4, 2023
Merged

Conversation

juanmahidalgo
Copy link
Collaborator

No description provided.

@juanmahidalgo juanmahidalgo merged commit 0a7d42f into main Aug 4, 2023
1 check passed
@juanmahidalgo juanmahidalgo deleted the feat/use-views branch August 4, 2023 12:10
GROUP BY nfts_with_orders.item
) as nfts_with_orders ON nfts_with_orders.item = items.id`
)
LEFT JOIN `.append(schemaVersion).append(SQL`.nfts_with_orders_view AS nfts_with_orders ON nfts_with_orders.item = items.id
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

TODO: check the range logic removed how to put it back in using the view

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

1 participant