walkable
walkable copied to clipboard
Implement EXISTS
[:exists {:some-query-root-or-join [:table/column]}] should expand to EXISTS (SELECT a_column FROM some_table)
the problem is the s-expression compiler need emitter from floor-plan to compile so it should be injected to the compiler's env somehow.
the problem is EXISTS doesn't live in the same level as COUNT(*) > 0, so the sql query must be built specifically for it