terpal-sql
terpal-sql copied to clipboard
Would it be useful to have a version of terpal-sql's "run" to return a nullable instead of a list?
In case you are selecting one specific row (e.g. filtering based on an id in a unique column).
Or is there a good reason not to have this?
I made this:
But I'm not sure if I not rather have .firstOrNull()s at the call-sites.