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

fix(db-postgres): query using blockType #5044

Merged
merged 2 commits into from
Feb 16, 2024

Conversation

DanRibbens
Copy link
Contributor

@DanRibbens DanRibbens commented Feb 9, 2024

Description

Fix #3838

In MongoDB the blockType is easily queried on because it takes shape in the actual document saved. This PR matches the functionality for postgres by looking at the value of the query for blockTypes and adding joins and constraints to the query to make sure the path matches and exists in the appropriate block table.

  • I have read and understand the CONTRIBUTING.md document in this repository.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have added tests that prove my fix is effective or that my feature works
  • Existing test suite passes locally with my changes

@DanRibbens DanRibbens merged commit 35c2a08 into main Feb 16, 2024
32 checks passed
@DanRibbens DanRibbens deleted the fix/#3838-postgres-blocktype-query branch February 16, 2024 18:30
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.

nested relationship field rest api request, incorrect results
2 participants