bug fix with a default value is not properly set when a db_field is not equal to a name of the field;
bug fix BoleanField docs error;
add projection methods .only(), .exclude(), .fields() with list $slice operator, .all_fields() to QuerySet. So it is possible to specify which fields to load or not to load during a query. Implementation is based on the code of QueryFieldList class from the MongoEngine.
.only()
,.exclude()
,.fields()
with list $slice operator,.all_fields()
toQuerySet
. So it is possible to specify which fields to load or not to load during a query. Implementation is based on the code ofQueryFieldList
class from theMongoEngine
.