dimsuz
11/06/2019, 10:23 AMViews work just like tables. You can't have a ? in the creation of the view, but when you query it you're more than welcome to.Yeah, the thing is that in my case WHERE has quite a few conditions, so I didn't want to duplicate it only because
IN ?
doesn't handle case when ?
is an empty collection. But don't think it actually should, just thought there maybe some pattern I don't know about. For now I duplicated my query.