Category Archives

MongoEngine – Query Operators

In addition to = operator to check equality, the following logical operators are defined in MongoEngine. ne not equal...

MongoEngine – Query Operators

In addition to = operator to check equality, the following logical operators are defined in MongoEngine. ne not equal...

MongoEngine – Querying Database

The connect() function returns a MongoClient object. Using list_database_names() method available to this object, we can retrieve number of...

MongoEngine – Querying Database

The connect() function returns a MongoClient object. Using list_database_names() method available to this object, we can retrieve number of...

MongoEngine – Dynamic Schema

One of the advantages of MongoDB database is that it supports dynamic schema. To create a class that supports...

MongoEngine – Dynamic Schema

One of the advantages of MongoDB database is that it supports dynamic schema. To create a class that supports...

MongoEngine – Fields

A MongoEngine document class has one or more attributes. Each attribute is an object of Field class. BaseField is...

MongoEngine – Fields

A MongoEngine document class has one or more attributes. Each attribute is an object of Field class. BaseField is...

MongoEngine – Installation

To use MongoEngine, you need to have already installed MongoDB and MongoDB server should be running as described earlier....

MongoEngine – Installation

To use MongoEngine, you need to have already installed MongoDB and MongoDB server should be running as described earlier....

Connecting to MongoDB Database

As mentioned earlier, you should first start MongoDB server using mongod command. MongoEngine provides connect() function to connect to...

Connecting to MongoDB Database

As mentioned earlier, you should first start MongoDB server using mongod command. MongoEngine provides connect() function to connect to...

MongoEngine – Document Class

MongoEngine is termed as ODM (Object Document Mapper). MongoEngine defines a Document class. This is a base class whose...

MongoEngine – Document Class

MongoEngine is termed as ODM (Object Document Mapper). MongoEngine defines a Document class. This is a base class whose...

MongoEngine – MongoDB

NoSQL databases have seen rise in popularity in the last decade. In today’s world of real time web applications,...

MongoEngine – MongoDB

NoSQL databases have seen rise in popularity in the last decade. In today’s world of real time web applications,...

MongoEngine – MongoDB Compass

MongoDB has also developed a GUI tool for handling MongoDB databases. It is called MongoDB Compass. It is a...

MongoEngine – MongoDB Compass

MongoDB has also developed a GUI tool for handling MongoDB databases. It is called MongoDB Compass. It is a...

', { 'anonymize_ip': true });