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

Enhancement/2024 12 added where condition #338

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

takapi327
Copy link
Owner

@takapi327 takapi327 commented Dec 17, 2024

Implementation Details

Allow additional conditions of Where to be conditionally excluded

TableQuery[City]
  .select(_.name)
  .where(_.population > 1000000)
  .and(_.name == "Tokyo", false)
// SELECT name FROM city WHERE population > ?

Pull Request Checklist

  • Wrote unit and integration tests
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code formatting by scalafmt (sbt scalafmtAll command execution)
  • Add copyright headers to new files

References

@takapi327 takapi327 added the 💪 enhancement Functional enhancement label Dec 17, 2024
@takapi327 takapi327 added this to the 0.3.0 milestone Dec 17, 2024
@takapi327 takapi327 self-assigned this Dec 17, 2024
@takapi327 takapi327 added the project:statement Addition and modification of functionality to Statement projects label Dec 17, 2024
@takapi327 takapi327 merged commit 93e1ab9 into master Dec 19, 2024
27 checks passed
@takapi327 takapi327 deleted the enhancement/2024-12-Added-Where-condition branch December 19, 2024 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪 enhancement Functional enhancement project:statement Addition and modification of functionality to Statement projects
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant