Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pg void clr value changes #5143

Closed
NinoFloris opened this issue Jul 4, 2023 · 1 comment · Fixed by #5123
Closed

Pg void clr value changes #5143

NinoFloris opened this issue Jul 4, 2023 · 1 comment · Fixed by #5123
Assignees
Milestone

Comments

@NinoFloris
Copy link
Member

NinoFloris commented Jul 4, 2023

Currently void returns DBNull but reading ExecuteScalar docs a null value should be expected, after all there was no column or value at all. This is fixed in #5123

Relevant doc line:

The first column of the first row in the result set, or a null reference (Nothing in Visual Basic) if the result set is empty

@NinoFloris
Copy link
Member Author

For anybody landing on this issue, this also goes for ExecuteScalarAsync.

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

Successfully merging a pull request may close this issue.

1 participant