我一直在試圖查詢包含多於1500000項的BaseX數據庫。 當我運行此查詢 for $item in collection('coll')//item
return $item (: returns an xml element :)
它執行在不到一秒鐘。 但是當我嘗試在xml中返回結果時,出現「Out of main memory」錯誤。 <xml>{
for $ite
如何更新從目錄「/收藏/」到「/ CollectionsCount /」在Marklogic for $each in xdmp:directory("/collections/", "infinity")
return xdmp:node-uri($each)
result found:
/collections/Count2017-08-25.xml
/collections/Cou
我正在嘗試這種情況,但它總是通過其他方式退出,你能幫我嗎?感謝 if ($orderLine[osm:ProductSpecification/text()="X"] and osm:ExtensibleAttributes[osm:Name = "Y" or osm:Name = "Z"] and osm:NewValue/text() = "A")
then
<A