Friday 6 March 2015

jdbc for mongoDB

      JDBC for mongoDB
      BasicDBObject
      Create a collection
      Drop collection
      Insert a document
      Query for a document
      Get one document
      Get all Documents
      Get specific fields from the document
      Find documents where field is equal to value
      in operator example
      gt(>), lt(<) example
      ne (not equal) example
      and operator example
      Update document using Set
       inc operator
      Update multiple documents
      Delete documents
      Remove list of objects
      Remove all documents from collection
      QueryBuilder
      Get all documents if the field exists
      Store large data into mongoDB
      Hinting index in java


No comments:

Post a Comment