FAQ

Search Discussions

11 discussions - 34 posts

  • Hi, I have a collection with the following documents: { _id: 1, tags: [ "abc", "xyz", "zyx" ] }{ _id: 2, tags: [ "xyz" ] }{ _id: 3, tags: [ "zyx" ] } How do I query for elements which has a tag - ...
    Anindya ChatterjeeAnindya Chatterjee
    Feb 28, 2016 at 12:25 pm
    Feb 29, 2016 at 7:51 am
  • hello, I have to store multiple file names in the following format : imagearray[0]["img"] = "filename1" imagearray[0]["thumb"] = "thumb_filename1" imagearray[1]["img"] = "filename1" ...
    Vineet danielVineet daniel
    Feb 23, 2016 at 3:54 pm
    Feb 23, 2016 at 4:57 pm
  • I'm seeing a panic in a goroutine forked within mgo v2 when DialWithTimeout fails in server.go. Here's the offending code at https://github.com/go-mgo/mgo/blob/v2/server.go#L164 conn, err = ...
    Jack GreenfieldJack Greenfield
    Feb 6, 2016 at 7:06 pm
    Feb 8, 2016 at 10:24 pm
  • Hello Everyone, Is it normal for MongoDB to lose all the data stored in it whenever the Go program or the MongoDB daemon resets. I am working on my first application with MongoDB and able to insert, ...
    CaseyCasey
    Feb 18, 2016 at 3:21 pm
    Feb 18, 2016 at 11:45 pm
  • Hello All, I've written a custom SetBSON function that I'd like to test *without* needing to run mongodb. As you probably know, the function signature is: func (m *MyStruct) SetBSON(raw bson.Raw) ...
    Chris MoeselChris Moesel
    Feb 16, 2016 at 11:30 pm
    Feb 17, 2016 at 1:17 pm
  • Is there any way to pass the "explain" option to a Pipeline command https://docs.mongodb.org/v3.0/reference/method/db.collection.aggregate/ -- You received this message because you are subscribed to ...
    William KennedyWilliam Kennedy
    Feb 16, 2016 at 7:21 pm
    Feb 16, 2016 at 8:22 pm
  • Hi Everybody, I would need an help with the use of mgo with a replicaset cluster. I have 1 master and 1 secondary node (I tried also with 2 secondary nodes). I establish a connection using the master ...
    Andrea GardimanAndrea Gardiman
    Feb 22, 2016 at 8:56 am
    Feb 26, 2016 at 10:57 am
  • Hello, I am using distinct to get unique values from a collection but the results are unordered, how can I add sorting or order to a distinct query ?? Regards Vineet Daniel Cell : +918527565696 ...
    Vineet danielVineet daniel
    Feb 25, 2016 at 10:30 am
    Feb 25, 2016 at 10:30 am
  • Hello, How can we write similar query in Go (mgo) : db.followers.aggregate([ {$match: { fserid: ObjectId("56b329fa2620e5438555992a")} }, {$lookup: { from: "users", localField: "fuserid", ...
    Vineet danielVineet daniel
    Feb 8, 2016 at 6:24 pm
    Feb 8, 2016 at 6:24 pm
  • It would be nice if mgo came with built-in support for context.Context: https://godoc.org/golang.org/x/net/context Although mgo has support for timeouts, they don't always work as expected when the ...
    Rob SRob S
    Feb 7, 2016 at 9:32 pm
    Feb 7, 2016 at 9:32 pm
  • Hello Go & MongoDB developers, Happy to announce this major release, feature packed: http://blog.labix.org/2016/02/04/mgo-r2016-02-04 Thanks so much to all contributors. gustavo @ http://niemeyer.net ...
    Gustavo NiemeyerGustavo Niemeyer
    Feb 4, 2016 at 7:49 pm
    Feb 4, 2016 at 7:49 pm
Group Navigation
period‹ prev | Feb 2016 | next ›
Group Overview
groupmgo-users @
categoriesmongodb
discussions11
posts34
users13
websitelabix.org...
irc#mongodb