Add or condition.
conditions
.and('gender', 'male')
.or('age', '>=', 20)
// sql: (`gender` = ?) OR (`age` >= ?)
// bindings: ['male', 20]
Generate SQL and Binding Values.
const [sql, bindings] = conditions.toSQL()
Optionalinput: SQLBuilderToSQLInputOptions
Add
andcondition.