top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How do I define or alter the collection schema in mongodb?

0 votes
254 views
How do I define or alter the collection schema in mongodb?
posted Jan 23, 2017 by Dhaval Vaghela

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+1 vote

I have a DB with several (quite big) collections, on Mongo 3.2.5 and WiredTiger with snappy compression on. I would like to change the compression setting on one small collection I have to test it uncompressed. Is there a possibility to do that on a secondary without having to resync the whole DB?

0 votes

I would like to know how to store files into mongo... I am using angular on the front end...
How do I set up my post and get methods to include the createStream and writeStream?

+1 vote

I want learn mongodb java and I want to do project in this area, I want to store encrypted data in the database.
Also I want to know what is mongoid gem. Please suggest some pointers?

0 votes

How to get all query which related 1 collection in mongodb? for oracle,we can get all query from system view like v$sql, but I am not sure if mongodb have this system view to see all query related 1 special collection?

...