I am trying to run below query
val query = for {
((a, b), c) <- join.filter(
x => arrays.map(p => x._1._1.status inSetBind p).getOrElse(slick.lifted.LiteralColumn(true))
)
} yield ((a, b), c)
sync(db.run(query.result))
arrays is of type Option[Array[String]]
Cannot perform option-mapped operation [error] with type: (Option[Boolean], _87) => R [error] for base type: (Boolean, Boolean) => Boolean [error] && arrays.map(p => x._1._1.status inSetBind p).getOrElse(slick.lifted.LiteralColumn(true)) [error]
^
What seems to be the cause of error?