Questions tagged [mongo-collection]

110 questions
0
votes
1 answer

Connecting Remote MongoDB in PHP to get the results in collection

Hi Can anyone help with me for Configuring the mongodb in PHP with below details, I have tried connecting with below MongoServer details and get the results from the collections, But I am getting error as shown below Server : test.server.com Port :…
Mahesh G
  • 1,226
  • 4
  • 30
  • 57
0
votes
1 answer

MongoCollection update where a value is equal to something

I am trying to update a value in my entire DB for every meeting I have. Currently it looks like this: { "Referent" : null "Participants" : [ { "Email" : "mail@mail1.com", "Present" : true }, …
MortenMoulder
  • 6,138
  • 11
  • 60
  • 116
0
votes
2 answers

Mongo collection in Meteor is inserting junk

I'm trying to create a Mongo collection that can be inserted into from client side. When I call Courses.insert it succeeds, but is putting junk fields into my collection. Code: /imports/api/createCourse.js import { Meteor } from…
Brian Sizemore
  • 249
  • 4
  • 17
0
votes
1 answer

Meteor: There is no route for the path error. how to access SINGLE article within a nested object

I have an array of 10 objects 'categories' and each category has sub objects such as posts within that category. This is how it looks. I access the category list like this.