Skip to main content

Or

The Or method is used to extend the query with an OR condition.

Usage

witchers := WitcherModel.Where("name").Equals("Geralt").Or().Where("age").Equals(100).ExecTT()

In the example above, we are filtering the results to only include witchers whose name is Geralt or age is 100.