简体   繁体   English

APIATO url 搜索条件 - 是 null 而不是 null 值

[英]APIATO url search criteria - is null and is not null values

Is there any way that we can search null value in apiato, for example api.domain.test/v1/endpoint?search=email:null I want to query null values to display as 1 group, any suggestions or advise on how to do so. Is there any way that we can search null value in apiato, for example api.domain.test/v1/endpoint?search=email:null I want to query null values to display as 1 group, any suggestions or advise on how to do所以。 Thank you in advance.先感谢您。

I think you cannot search null value in a URL like that but my idea is you can compare the string in the URL if the value == null you can check the condition and query the data that you want Ex: api.domain.test/v1/endpoint?search=email:null I think you cannot search null value in a URL like that but my idea is you can compare the string in the URL if the value == null you can check the condition and query the data that you want Ex: api.domain.test/ v1/endpoint?search=email:null

 if ($request->email == 'email:null') { return 'query that you want'; }

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM