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

Support condition expressions with #where #832

Merged
merged 3 commits into from
Jan 12, 2025

Conversation

andrykonchin
Copy link
Member

@andrykonchin andrykonchin commented Jan 11, 2025

So now #where can used like this way:

User.where(
  'age > :a AND (first_name = :fn OR last_name = :ln)',
   a: 42, fn: 'Alex', ln: 'Jackson')

Close #640 and #825

@andrykonchin andrykonchin force-pushed the ak/where-with-filter-expression branch from d4f6e2d to 7213e84 Compare January 11, 2025 23:34
@andrykonchin andrykonchin force-pushed the ak/where-with-filter-expression branch from 7213e84 to 2bfa24d Compare January 11, 2025 23:54
@andrykonchin andrykonchin force-pushed the ak/where-with-filter-expression branch from 2bfa24d to 4399fcd Compare January 12, 2025 00:02
Copy link

Code Coverage

Package Line Rate Health
dynamoid 92%
Summary 92% (3422 / 3735)

Minimum allowed line rate is 90%

@andrykonchin andrykonchin merged commit 94e5da7 into master Jan 12, 2025
69 of 70 checks passed
@andrykonchin andrykonchin deleted the ak/where-with-filter-expression branch January 12, 2025 00:16
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.

filter expression with or?
1 participant