Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

.HasRows has to be called after .Read() #41

Open
daniol opened this issue Oct 9, 2020 · 0 comments
Open

.HasRows has to be called after .Read() #41

daniol opened this issue Oct 9, 2020 · 0 comments
Labels

Comments

@daniol
Copy link

daniol commented Oct 9, 2020

In other libraries you can call SQLiteDataReader.HasRows before calling SQLiteDataReader.Read()

It does not have many sense for .HasRows requiring .Read() to be called first, because Read() returns true if there are rows in the query result, therefore you don't need to call .HasRows at all.

@daniol daniol changed the title .HasRows hast to be called after .Read() .HasRows has to be called after .Read() Oct 9, 2020
@bgrainger bgrainger added the bug label Oct 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants