Skip to content

Conversation

@stephencelis
Copy link
Member

Support for more dynamic queries based off arrays:

Reminder.where {
  for searchTerm in searchTerms {
    $0.title.contains(searchTerm) || $0.notes.contains(searchTerm)
  }
}

Support for more dynamic queries based off arrays:

```swift
Reminder.where {
  for searchTerm in searchTerms {
    $0.title.contains(searchTerm) || $0.notes.contains(searchTerm)
  }
}
```
@stephencelis stephencelis requested a review from mbrandonw August 5, 2025 19:00
@stephencelis stephencelis merged commit 22959f5 into main Aug 5, 2025
3 checks passed
@stephencelis stephencelis deleted the bool-fragment-build-array branch August 5, 2025 20:05
coenttb pushed a commit to coenttb/swift-structured-queries-postgres that referenced this pull request Oct 14, 2025
…o#125)

Support for more dynamic queries based off arrays:

```swift
Reminder.where {
  for searchTerm in searchTerms {
    $0.title.contains(searchTerm) || $0.notes.contains(searchTerm)
  }
}
```
coenttb pushed a commit to coenttb/swift-structured-queries-postgres that referenced this pull request Oct 15, 2025
…o#125)

Support for more dynamic queries based off arrays:

```swift
Reminder.where {
  for searchTerm in searchTerms {
    $0.title.contains(searchTerm) || $0.notes.contains(searchTerm)
  }
}
```
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.

3 participants