Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/facebook/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Parse platform 如何使用列值作为比较来查询数据?_Parse Platform - Fatal编程技术网

Parse platform 如何使用列值作为比较来查询数据?

Parse platform 如何使用列值作为比较来查询数据?,parse-platform,Parse Platform,我想在我的解析数据库中找到所有结果的列表,其中a列

我想在我的解析数据库中找到所有结果的列表,其中a列 返回“Qty 有什么办法吗?

试试这个(类型指针可能需要更改为其他类型):


据我所知,不支持比较两列。
var query = new Parse.Query("Item");
query.lessThan("Qty",0); // In this example I'm passing in an int, 
                         // but I really want to pass in a reference 
                         // to a different column's value for the same row.
query.lessThan("Qty", {__type: "Pointer", className: "Item", objectId: 0});