-
Notifications
You must be signed in to change notification settings - Fork 841
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
postgres下插入只包含字符串的json会报错 #1770
Comments
处理方式在这里,个人建议在使用当时上解决问题。 JToken 始终保存 Array 或 Json,基础类型可以选择 string 存储。 |
数值类型用起来没问题,只要针对string处理一下,JToken能存的数据就基本没问题了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
包:
freesql生成的sql:INSERT INTO "MyTestObj"("Json") VALUES('aaabbb')
可以正确插入的sql应该为 INSERT INTO "MyTestObj"("Json") VALUES('"aaabbb"')
update同理
不过数值类型没问题
The text was updated successfully, but these errors were encountered: