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

handle null values in sql queries #440

Merged
merged 1 commit into from Jun 28, 2023
Merged

Conversation

FrancisGauthier
Copy link

Issue when querying an sql database with null values. If any columns has null, then an exception "Could not cast DbNull to object" raises.

Added a DbNull check to return null. if not, the actual value.

@paillave paillave merged commit bd5aa4c into paillave:master Jun 28, 2023
@paillave
Copy link
Owner

Thanks for the contribution @FrancisGauthier

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

Successfully merging this pull request may close these issues.

None yet

3 participants