Skip to content
Discussion options

You must be logged in to vote

辛苦确认下是 postgresql 还是 tidb 存储,看你截图返回的字段 insertedat 是有问题的,正确的应该是 insertedAt。time 的值是用 insertedAt 的值换算的时间错,所以导致 null 了。目前只有在 postgresql 中因为大小写转换的问题,会有 insertedat 字段,tidb 应该是不存在的。
另外 @waline/client 的版本有点古早了,可以更新到最新。


Please confirm whether it is stored in postgresql or tidb. The field insertedat returned by your screenshot is problematic. The correct one should be insertedAt. The value of time is the wrong time converted using the value of insertedAt, so it is null. Currently, only in postgresql due to case conversion issues, there will be an insertedat field, and tidb should not exist.
In addition, the version of @waline/client is a bit old and can be updated to the latest one.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by elkan1788
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants