orangy/squash

QueryCompound is a sealed class

Opened this issue · 2 comments

emrul commented

Hi,

I wanted to add a dialect specific join (Postgres' LATERAL - described here However org.jetbrains.squash.query.QueryCompound is a sealed class which prevents me from adding it.

Is there some other way I should be adding additional join types?

From the documentation it looks like it's a modifier on a sub-query, rather then variation of a JOIN. So may be you need a wrapping compound element that takes a SubQueryExpression?

emrul commented

I will try and let you know