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

14205 sql server translate bool to string #24793

Merged

Conversation

michalczerwinski
Copy link
Contributor

@michalczerwinski michalczerwinski commented Apr 28, 2021

Now ToString on boolean column and nullable boolean column is translated into CASE WHEN and returns 'true', 'false' or null.
Added 2 tests covering both scenario.

michalczerwinski and others added 2 commits April 27, 2021 21:07
        - Adding boolean.ToString translation via CASE WHEN END
        - Adding test to cover a new feature

        Fixes dotnet#14205
@dnfadmin
Copy link

dnfadmin commented Apr 28, 2021

CLA assistant check
All CLA requirements met.

@michalczerwinski
Copy link
Contributor Author

@smitpatel: all suggestions are resolved, could you please have a look at a spare moment?

@maumar maumar merged commit a872fe1 into dotnet:main May 5, 2021
@maumar
Copy link
Contributor

maumar commented May 5, 2021

@michalczerwinski thank you for the contribution!

@michalczerwinski
Copy link
Contributor Author

@michalczerwinski thank you for the contribution!

Glad I could help!

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

Successfully merging this pull request may close these issues.

6 participants