Fumble icon indicating copy to clipboard operation
Fumble copied to clipboard

Question: Is there a way to read just a scalar value from the query?

Open groma84 opened this issue 2 years ago • 0 comments

I'm trying out Fumble at the moment for a small project and tried reading just a scalar value from the DB: SELECT COUNT(*) FROM Test. But then I don't know how to get the resulting number (which does not have a column name) with the SqlRowReader.

I for now use a workaround (naming the resulting count as a column with AS in the statement). Just wanted to know if there's a shorter way.

Thanks for the great library!

groma84 avatar Jan 04 '23 15:01 groma84