So my question is, it's possible to have field with same name and different values?:
db.qux.update({word:"house"},{ "$push": { path:"\\bin"}, $set: {"startOfWord":"22", "endOfWord":"27" }},true)
db.qux.update({word:"house"},{ "$push": { path:"\\usr"}, $set: {"startOfWord":"22", "endOfWord":"27" }},true)
db.qux.find();
{ "_id" : ObjectId("534cb354375536c8160a4376"), "word" : "house", "path" : [ "\\bin", "\\usr" ], "startOfWord" : "22", "endOfWord" : "27" }
I see, if i do use push, i'll only add to the array, and not as a new field...man...i have no clue about what to do next =\To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/0c433100-4f4e-40ef-8c6c-48cfaf06c915%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.