What is the best way to do the same as a postgresql "select exists"?

36 Views Asked by At

I'm used to doing select exists (select whatever from wherever) to test for existence.

What is the corresponding scalikejdbc idiom?

I can do limit 1 and compare the count to 1 but it seems there must be a better way.

0

There are 0 best solutions below