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.
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.