Skip to content

wip: model/query: eliminate parameterised SQL "AND TRUE" - #1880

Draft
alxndrsn wants to merge 26 commits into
getodk:masterfrom
alxndrsn:sqland
Draft

wip: model/query: eliminate parameterised SQL "AND TRUE"#1880
alxndrsn wants to merge 26 commits into
getodk:masterfrom
alxndrsn:sqland

Conversation

@alxndrsn

@alxndrsn alxndrsn commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Closes getodk/central#2077

What has been done to verify that this works as intended?

  • existing tests pass

Why is this the best possible solution? Were any other approaches considered?

  • not much more complicated code
  • simpler SQL

How does this change impact users? Describe intentional behavior changes from code updates. What are the regression risks?

No effect, unless something breaks.

Does this change require updates to the API documentation? If so, please update docs/api.yaml as part of this PR.

No.

Comment thread lib/model/query/entities.js Outdated
Comment thread lib/model/query/entities.js Outdated
Comment thread lib/model/query/entities.js Outdated
Comment thread test/integration/api/entities.js
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.

[backend] eliminate parameterised SQL "AND TRUE"

1 participant