我在这里有关于GraphQL中的领域查询的问题。
是否可以在graphql中的两个日期之间查询?
这是我尝试过的:
query getStudents{
student(query:"created_datime BETWEEN {'2018-02-24T14:59:43.842Z','2018-02-28T14:59:43.842Z'}"){
id
code
name
created_datetime
modified_datetime
status
}
}
会发生错误“无效谓词”。
如何正确查询?
你能试一下吗:
student(query:"created_datime BETWEEN {'2018-02-24@14:59:43:842', '2018-02-28@14:59:43:842'}"){
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句