Skip to content

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

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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