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()
Optional
input: SQLBuilderToSQLInputOptions
Add
and
condition.