Does anyone have any ideea how to write an OR logic like the ' || ' operator in JS I tried inside my knex to do it like that ->
knex('something')
.where({ state: BOOKING_STATE.ACCEPTED } || { state: BOOKING_STATE.WAITING_LIST})
however it fails and i can't find anything about it in the docs