-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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查询时,将字段类型为json,jsonb的数据转为json字符串 #2837
The head ref may contain hidden characters: "\u4FEE\u590Dpg\u90E8\u5206\u7C7B\u578B"
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2837 +/- ##
==========================================
+ Coverage 78.32% 78.34% +0.02%
==========================================
Files 124 124
Lines 17524 17548 +24
==========================================
+ Hits 13725 13748 +23
- Misses 3799 3800 +1 ☔ View full report in Codecov by Sentry. |
这个是不是在 https://github.com/hhyo/Archery/blob/master/common/utils/extend_json_encoder.py 这里注册一个新的类型就行了? |
你的意思是加 @convert.register(list) 然后靠这里的地方能统一解决? 我试了,不好像。 return HttpResponse( |
fix #2234
PG查询时,将字段类型为json,jsonb的数据转为json字符串。