-
Notifications
You must be signed in to change notification settings - Fork 2.2k
请求api时date区间条件怎么设置 #112
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
Comments
比较运算 连续范围 https://github.com/APIJSON/APIJSON/blob/master/Document.md#32-%E5%8A%9F%E8%83%BD%E7%AC%A6 |
搜索日期和时间区间也是一样的吗 "2017-02-01 10:01:02 ,2018-02-01 11:09:03" |
一样,不过你写的这个在逗号前多了个空格 |
好的,感谢回答 |
pg使用此查询方式,需在数据库连接处加参数 url: jdbc:postgresql://127.0.0.1:5432/postgres?reWriteBatchedInserts=true&TimeZone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&stringtype=unspecified |
环境信息
问题描述
{
"User": {
"date{}": ">=2017-02"
}
}
错误信息
{
"User": {
"date{}": ">=2017-02"
},
"code": 403 ,
"msg": "date{}:value 的 value 中 >=2017-02 不合法!预编译模式下 key{}:"condition" 中 condition 必须 为 =null 或 !=null 或 符合正则表达式 ^[0-9%!=<>,]+$ !不允许空格!" ,
"sql:generate|cache|execute|maxExecute": "1|0|0|200" ,
"depth:count|max": "1|5" ,
"time:start|duration|end": "1572353867665|4|1572353867669"
}
时间区间的条件该如何设置?
The text was updated successfully, but these errors were encountered: