Skip to content

Support condition expressions with #where#832

Merged
andrykonchin merged 3 commits into
masterfrom
ak/where-with-filter-expression
Jan 12, 2025
Merged

Support condition expressions with #where#832
andrykonchin merged 3 commits into
masterfrom
ak/where-with-filter-expression

Conversation

@andrykonchin

@andrykonchin andrykonchin commented Jan 11, 2025

Copy link
Copy Markdown
Member

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
@github-actions

Copy link
Copy Markdown

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
@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