Re: [go-nuts] How to write bson.M format Golang

2019-03-26 Thread Burak Serdar
On Tue, Mar 26, 2019 at 4:05 AM wrote: > > Hi, > > Am using mongodb as database. Am able to query the database from the command > line using the command > > db.nfinstances.distinct("ipv4Addresses",{"nfType":"AMF", "amfInfo.amfSetId": > "3fa85f64-5717-4562-b3fc-2c963f66af33"}) > > and this give m

[go-nuts] How to write bson.M format Golang

2019-03-26 Thread afriyie . abraham
Hi, Am using mongodb as database. Am able to query the database from the command line using the command db.nfinstances.distinct("ipv4Addresses",{"nfType":"AMF", "amfInfo.amfSetId": "3fa85f64-5717-4562-b3fc-2c963f66af33"}) and this give me ipaddress [x.x.x.x] output that i want. mongo command