In MongoDB, the files with size larger than 16 MB are stored using GridFS specifications. A file is divided... 04 Mar MongoEngine – GridFS admin2 admin2 | Mongo Engine | 0 In MongoDB, the files with size larger than 16 MB are stored using GridFS specifications. A file is divided...
Signals are events dispatched by a sender object, any number of receiver objects can subscribe to such events. A... 04 Mar MongoEngine – Signals admin2 admin2 | Mongo Engine | 0 Signals are events dispatched by a sender object, any number of receiver objects can subscribe to such events. A...
MongoDB supports use of query operators that can perform text search on a string content. As described earlier, to... 04 Mar MongoEngine – Text search admin2 admin2 | Mongo Engine | 0 MongoDB supports use of query operators that can perform text search on a string content. As described earlier, to...
It is possible to define an inherited class of any user defined Document class. The inherited class may add... 04 Mar MongoEngine – Document Inheritance admin2 admin2 | Mongo Engine | 0 It is possible to define an inherited class of any user defined Document class. The inherited class may add...
Atomicity is one of the ACID transaction properties. A database transaction has to be indivisible and irreducible so that... 04 Mar MongoEngine – Atomic Updates admin2 admin2 | Mongo Engine | 0 Atomicity is one of the ACID transaction properties. A database transaction has to be indivisible and irreducible so that...
QuerySet object of MongoEngine has exec_js() method that allows execution of a Javascript function on MongoDB server. This function... 04 Mar MongoEngine – Javascript admin2 admin2 | Mongo Engine | 0 QuerySet object of MongoEngine has exec_js() method that allows execution of a Javascript function on MongoDB server. This function...
The QuerySet object possesses following useful methods for querying the database. first() First document satisfying the query is returned.... 04 Mar MongoEngine – QuerySet Methods admin2 admin2 | Mongo Engine | 0 The QuerySet object possesses following useful methods for querying the database. first() First document satisfying the query is returned....
An indexed collection results in faster processing of queries. By default, every collection is automatically indexed on _id field.... 04 Mar MongoEngine – Indexes | Mongo Engine | 0 An indexed collection results in faster processing of queries. By default, every collection is automatically indexed on _id field....
In order to get more efficiency in retrieving a subset of fields in a document, use only() method of... 04 Mar MongoEngine – Advanced Queries admin2 admin2 | Mongo Engine | 0 In order to get more efficiency in retrieving a subset of fields in a document, use only() method of...
The connect() function returns a MongoClient object. Using list_database_names() method available to this object, we can retrieve number of... 04 Mar MongoEngine – Querying Database admin2 admin2 | Mongo Engine | 0 The connect() function returns a MongoClient object. Using list_database_names() method available to this object, we can retrieve number of...