Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/mongodb/13.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
Eclipse 如何使用Mongo为Birt编写表达式?_Eclipse_Mongodb_Grails_Birt - Fatal编程技术网

Eclipse 如何使用Mongo为Birt编写表达式?

Eclipse 如何使用Mongo为Birt编写表达式?,eclipse,mongodb,grails,birt,Eclipse,Mongodb,Grails,Birt,我找到了文档页面,上面说我可以编写运行数据库命令表达式,默认命令类型是FindQuery。如何编写FindQuery表达式。在“编辑数据集”窗口中选择“$query expression”按钮。然后键入所需的查找查询。。。例如,如果从加载MongoDB示例数据库 您可以执行查找查询,例如: { pop: { $gte: 15000 } } 这将搜索人口大于或等于15000人的所有记录。您还可以运行以下一些查找查询: { state: { $in: ["WA", "OR" ] } } //fi

我找到了文档页面,上面说我可以编写
运行数据库命令表达式
默认命令类型是FindQuery
。如何编写FindQuery表达式。

在“编辑数据集”窗口中选择“$query expression”按钮。然后键入所需的查找查询。。。例如,如果从加载MongoDB示例数据库

您可以执行查找查询,例如:

{ pop: { $gte: 15000  } }
这将搜索人口大于或等于15000人的所有记录。您还可以运行以下一些查找查询:

{ state: { $in: ["WA", "OR" ] } } //finds all of the cities in WA and OR

{$and: [{ state:"WA" },{ pop: { $gte: 50000 } }]} //finds all of the cities in WA with a population greater than 50,000-