Category Archives

MongoEngine – GridFS

In MongoDB, the files with size larger than 16 MB are stored using GridFS specifications. A file is divided...

MongoEngine – GridFS

In MongoDB, the files with size larger than 16 MB are stored using GridFS specifications. A file is divided...

MongoEngine – Signals

Signals are events dispatched by a sender object, any number of receiver objects can subscribe to such events. A...

MongoEngine – Signals

Signals are events dispatched by a sender object, any number of receiver objects can subscribe to such events. A...

MongoEngine – Text search

MongoDB supports use of query operators that can perform text search on a string content. As described earlier, to...

MongoEngine – Text search

MongoDB supports use of query operators that can perform text search on a string content. As described earlier, to...

MongoEngine – Javascript

QuerySet object of MongoEngine has exec_js() method that allows execution of a Javascript function on MongoDB server. This function...

MongoEngine – Javascript

QuerySet object of MongoEngine has exec_js() method that allows execution of a Javascript function on MongoDB server. This function...

MongoEngine – Atomic Updates

Atomicity is one of the ACID transaction properties. A database transaction has to be indivisible and irreducible so that...

MongoEngine – Atomic Updates

Atomicity is one of the ACID transaction properties. A database transaction has to be indivisible and irreducible so that...

MongoEngine – QuerySet Methods

The QuerySet object possesses following useful methods for querying the database. first() First document satisfying the query is returned....

MongoEngine – QuerySet Methods

The QuerySet object possesses following useful methods for querying the database. first() First document satisfying the query is returned....

MongoEngine – Indexes

An indexed collection results in faster processing of queries. By default, every collection is automatically indexed on _id field....

MongoEngine – Indexes

An indexed collection results in faster processing of queries. By default, every collection is automatically indexed on _id field....

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...

', { 'anonymize_ip': true });