Title: 不支持 postgresql 的 date 字段格式时的类型转换 · Issue #436 · APIJSON/APIJSON · GitHub
Open Graph Title: 不支持 postgresql 的 date 字段格式时的类型转换 · Issue #436 · APIJSON/APIJSON
X Title: 不支持 postgresql 的 date 字段格式时的类型转换 · Issue #436 · APIJSON/APIJSON
Description: 使用如下查询时出错: { "data[]": { "User": { "birthday>=": "2022-08-28", }, "format": true, "count": 3, }, } org.postgresql.util.PSQLException: ERROR: operator does not exist: date >= character varying 建议:No operator matches the given name and arg...
Open Graph Description: 使用如下查询时出错: { "data[]": { "User": { "birthday>=": "2022-08-28", }, "format": true, "count": 3, }, } org.postgresql.util.PSQLException: ERROR: operator does not exist: date >= character varying 建议:No...
X Description: 使用如下查询时出错: { "data[]": { "User": { "birthday>=": "2022-08-28", }, "format": true, "count": 3, }, } org.postgresql.util.PSQLException: ...
Opengraph URL: https://github.com/APIJSON/APIJSON/issues/436
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"不支持 postgresql 的 date 字段格式时的类型转换","articleBody":"使用如下查询时出错:\r\n```json\r\n{\r\n\t\"data[]\": {\t\r\n\t\t\"User\": { \r\n\t\t\t\"birthday>=\": \"2022-08-28\",\r\n\t\t},\r\n \"format\": true,\r\n \"count\": 3,\r\n\t},\r\n\r\n}\r\n```\r\n```shell\r\norg.postgresql.util.PSQLException: ERROR: operator does not exist: date >= character varying\r\n 建议:No operator matches the given name and argument types. You might need to add explicit type casts.\r\n\r\n```\r\n\r\n==================\r\n\r\n需要这样转换一下字段格式:\r\n```json\r\n{\r\n\t\"data[]\": {\t\r\n\t\t\"User\": { \r\n\t\t\t\"birthday>=\": \"2022-08-28\",\r\n \"@cast\": \"birthday>=:DATE\",\r\n\t\t},\r\n \"format\": true,\r\n \"count\": 3,\r\n\t},\r\n\r\n}\r\n```\r\n\r\n`Document.md` 文档中查不到,可以补上这个功能的文档。 \r\n","author":{"url":"https://github.com/transtone","@type":"Person","name":"transtone"},"datePublished":"2022-08-29T07:49:45Z","url":"https://github.com/APIJSON/APIJSON/issues/436"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b07d718a-128b-5c91-023c-52afd02b3875 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EBA6:8FE41:3131E2:44005B:6AFCAF43 |
| html-safe-nonce | edf6e89e5e82d6ce29be0462018d3053d6618ced6c7f50e03ab8904aaf84a525 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkE2OjhGRTQxOjMxMzFFMjo0NDAwNUI6NkFGQ0FGNDMiLCJ2aXNpdG9yX2lkIjoiNjI5Mjk4MDc5Njc4OTQwMzQ1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6cb9235cd336904ea375f626a820aafa18b2cd832fd7beca39a21cf16abb2d6d |
| hovercard-subject-tag | issue:1353858516 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/APIJSON/APIJSON/436/issue_layout |
| twitter:image | https://opengraph.githubassets.com/40a32dea3bf6ba80d8ff109780e1801605defa403f07d26e030a0c84dd245c5b/APIJSON/APIJSON/issues/436 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/40a32dea3bf6ba80d8ff109780e1801605defa403f07d26e030a0c84dd245c5b/APIJSON/APIJSON/issues/436 |
| og:image:alt | 使用如下查询时出错: { "data[]": { "User": { "birthday>=": "2022-08-28", }, "format": true, "count": 3, }, } org.postgresql.util.PSQLException: ERROR: operator does not exist: date >= character varying 建议:No... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | transtone |
| hostname | github.com |
| expected-hostname | github.com |
| None | e3084aead77cbcb4f4904fba53851fa1a0546b0dec3619bd250815e72588dc6d |
| turbo-cache-control | no-preview |
| go-import | github.com/APIJSON/APIJSON git https://github.com/APIJSON/APIJSON.git |
| octolytics-dimension-user_id | 41146037 |
| octolytics-dimension-user_login | APIJSON |
| octolytics-dimension-repository_id | 74359442 |
| octolytics-dimension-repository_nwo | APIJSON/APIJSON |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 74359442 |
| octolytics-dimension-repository_network_root_nwo | APIJSON/APIJSON |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5410e4bebd3e45b138c853ecef3992279d86d5af |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width