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

修复MYSQL批量插入bool类型的值无法正常转换的问题,并增加对表达式的支持 #203

Merged
merged 1 commit into from
May 2, 2022

Conversation

xiangxiren
Copy link
Collaborator

当前MySql的BulkInsert中将DataTable转换为CSV时,会将bool类型的列的值转换为"True"或"False",通过Load data infile时无法正确的转换成1或0。因此,需要在ToCsV时将bool类型的直接转换为1或0。

同时增加了对表达式的支持。可以使用表达式转换数据。

@Ahoo-Wang Ahoo-Wang merged commit c93b6ee into dotnetcore:master May 2, 2022
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

2 participants