Skip to content

Adds methods to `orWhere` to match `where`

Compare
Choose a tag to compare
@VaporBot VaporBot released this 21 Jul 12:41
· 45 commits to main since this release
b70d1fe
This patch was authored by @NeedleInAJayStack and released by @0xTim.

Adds additional missing methods to orWhere that mirror where. Specifically, it adds orWhere methods for when the right-hand-side is:

  • an encodable
  • a list of encodables
  • a column identifier

This allows for example

builder.orWhere("name", .equal, "Earth")