• Capped Collection in MongoDB

    Capped Collection in MongoDB
    Capped collections are fixed-sized Circular Collection that follow the insert order to enhance the performance of create, read, and delete operations.
  • Overview of MongoDB

    Overview of MongoDB
    MongoDB is a cross-platform database, operating on the concepts of Collection and Document, it provides high performance, high availability and easy scalability.
  • Advantages of MongoDB

    Advantages of MongoDB
    Any Relation Database has a unique Schema Design to index the data tables and relationships between those tables. Meanwhile in MongoDB there is no concept of relationship.
  • Install MongoDB

    Install MongoDB
    Instructions for installing MongoDB on Windows.
  • Data modeling in MongoDB

    Data modeling in MongoDB
    Data in MongoDB has a flexible Schema. Documents in the same Collection need not have the same set of fields or structures, and common fields in Collection Documents can keep
  • Create Database in MongoDB

    Create Database in MongoDB
    The use DATABASE_NAME command in MongoDB is used to create the database. This command will create a new database, if it does not exist yet, otherwise, this command will return the
  • Delete Database in MongoDB

    Delete Database in MongoDB
    The db.dropDatabase () command in MongoDB is used to delete an existing database.
  • Create Collection in MongoDB

    Create Collection in MongoDB
    Method db.createCollection (name, options) in MongoDB is used to create Collection.
  • Delete Collection in MongoDB

    Delete Collection in MongoDB
    The db.collection.drop () method in MongoDB is used to delete a Collection from the database.
  • Data type in MongoDB

    Data type in MongoDB
    MongoDB supports many different data types. The following are some typical data types.
  • Insert Document in MongoDB

    Insert Document in MongoDB
    To insert data into Collection in MongoDB, you need to use the insert () or save () method.
  • Query Document in MongoDB

    Query Document in MongoDB
    To query data from Collection in MongoDB, you need to use the find () method in MongoDB.
  • Update Document in MongoDB

    Update Document in MongoDB
    The update () method updates the values ​​in the existing Document while the save () method replaces the existing Document with the transmitted Document in that save () method.
  • Delete Document in MongoDB

    Delete Document in MongoDB
    The remove () method in MongoDB is used to delete the Document from Collection. The remove () method takes two parameters. The first parameter of the deletion criteria determines
  • Projection in MongoDB

    Projection in MongoDB
    In MongoDB, projection's meaning is to select only the necessary data instead of selecting the entire data of a Document. If a Document has 5 fields and you only need 3 fields,
  • Limit records in MongoDB

    Limit records in MongoDB
    To limit the records in MongoDB, you need to use the limit () method. The limit () method takes a parameter in a numeric format, which is the Document number you want to display.
  • Sort records in MongoDB

    Sort records in MongoDB
    To sort documents in MongoDB, you need to use the sort () method. The sort () method takes a Document containing a list of fields with their sort order. To determine the sort
  • Index (Mong) in MongoDB

    Index (Mong) in MongoDB
    Index (Index) supports the resolution of queries more efficiently. Without an index, MongoDB must scan through all a Collection's Document to select the Documents that connect to