Skip to content

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

@groma84

Description

@groma84

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions