how to use ktorm `exists` ? it seems like it’s not...
# server
d
how to use ktorm
exists
? it seems like it’s not an extension of Database or anything really but takes a query as an arg and returns an expression which implies it’s got to be a subquery. from what i can tell, we end up w the awkward double speak of
Copy code
exists(
                database.from(MyTable).select()
                    .where(MyTable.featureFlagId eq ALLOW_LEVEL_BIDDING)
            ).notExists
which leads me to wonder how the non extension function interacts w the extension function esp if one or both are `not`…