terpal-sql icon indicating copy to clipboard operation
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?

Open cies opened this issue 5 months ago • 1 comments

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?

cies avatar Jul 19 '25 17:07 cies

I made this:

Image

But I'm not sure if I not rather have .firstOrNull()s at the call-sites.

cies avatar Jul 19 '25 17:07 cies