ule子runCommand没有返回结果

时间:2019-01-25 03:31:41

标签: mule mule-component

我正在使用m子mongo:execute-command从mongo中提取数据。

<mongo:execute-command config-ref="APIDB"  doc:name="Mongo DB" commandName="eval" commandValue="db.products.find({&quot;isTenYear&quot; : true}, {&quot;_id&quot; : 0, &quot;TypeId&quot; : 1, &quot;SubTypeId&quot; : 1})">

这使我回到

{ "serverUsed" : "localhost/127.0.0.1:27017" , "retval" : { "_mongo" : { "slaveOk" : false , "host" : "EMBEDDED"} , "_db" : { "_mongo" : { "slaveOk" : false , "host" : "EMBEDDED"} , "_name" : "APIDB"} , "_collection" : { "_mongo" : { "slaveOk" : false , "host" : "EMBEDDED"} , "_db" : { "_mongo" : { "slaveOk" : false , "host" : "EMBEDDED"} , "_name" : "APIDB"} , "_shortName" : "products" , "_fullName" : "APIDB.products"} , "_ns" : "APIDB.products" , "_query" : { "isTenYearSearchSSN" : true} , "_fields" : { "_id" : 0.0 , "viTypeId" : 1.0 , "viSubTypeId" : 1.0} , "_limit" : 0.0 , "_skip" : 0.0 , "_batchSize" : 0.0 , "_options" : 0.0 , "_cursor" : null , "_numReturned" : 0.0 , "_special" : false} , "ok" : 1.0}

没有结果

0 个答案:

没有答案