robo3t

    3熱度

    1回答

    我有一個集合中的以下文件: 輸入: { "_id" : ObjectId("***"), "oldItems" : [ { "_id" : ObjectId("***"), "name" : "ItemId***", "nestedItemsToExtract" : { } } ] } 我需要通過

    5熱度

    5回答

    我想機器人3T連接到我的在線數據庫,它似乎並沒有工作。我可以用它連接到本地數據庫。我嘗試使用MongoDB Compass進行連接,並且細節和身份驗證工作正常,我可以連接。但是當我在Robo 3T中使用相同的細節時,它似乎並沒有工作。我該如何解決? 我使用機器人3T 1.1版 我試圖用相同的1.0 Robomongo,並仍然得到同樣的錯誤

    1熱度

    2回答

    我無法訪問mongodb機器。所以我不能運行mongoexport命令。因此,我試圖讓我的查詢輸出爲CSV格式。 查詢在RoboMongo var cursor = db.getCollection('fineProduct').find ( {"inbuilt.bookingReference" : { $exists : true }} , {"_id":1,

    1熱度

    1回答

    我有一個包含100多個集合的mongodb數據庫。我試圖找到一個具有已知ObjectID的對象,該對象屬於某個(未知)此數據庫的集合。 我試圖做的: db.getCollectionNames().forEach(function(collname) { var object = db[collname].find({'_id' : ObjectId("54d0232ef83ea4000

    2熱度

    1回答

    我試圖運行: db.data.find({email: '[email protected]'}).collation({locale:'en'}) 但我不斷收到一個.collat​​ion不是一個函數。我使用腳本錯了嗎? 謝謝。

    0熱度

    2回答

    我有一個文檔DB(使用DocumentDB接口,NOT MongoDB的接口)來documentdb,所以連接字符串看起來像: AccountEndpoint = https://SomeDatabase.documents.azure.com:443/;AccountKey=xxxxx; 它看起來並不像這樣: 的mongodb:// SomeDatabase:[email protected]:

    0熱度

    1回答

    所以我想比較一個簡單的逗號分隔列表與我的集合中的文檔。這是我的代碼: var file = cat("Price Level V.csv"); var skus = file.split("\n"); for(var i = 0; i < skus.length; i++) { var vasku = skus[i].split(','); db.getCollection

    2熱度

    4回答

    當我使用以下格式保存在MongoDB中的日期時間,它表明: Error "Unable to parse JSON" { "_id" : ObjectId("58cb759805aeeae37a56dd3d"), "name" : "Plutus", "admin" : "type 1", "created" : new Date() } 請幫我在

    0熱度

    1回答

    我有一個數據庫表有1億條記錄。 Screen Shot is taken from Robomongo 表模式:There are 100 million records 當我運行下面的代碼。我得到了結果,但大約需要1分鐘才能完成。我需要優化查詢以更快地獲得結果。我到現在爲止所做的就是在這裏。請告訴我前進的方向,以達到最佳效果。 var collection = _database.GetCol

    -1熱度

    1回答

    我想從一個日期範圍字段集合查詢數據,我的文檔具有正則表達式搜索實現, 我的查詢如下, db.getCollection('_event').find([{"name":{"$regex":"2017","$options":"i"}},{},{"date.start:{$gte":"2017-03-07T18:30:00.000Z"},{"date.end:{$lt":"2017-11-16T18