-
I'm trying to create a query in mongoengine like this mongo query:
``` javascript
db.person.find( {
{ mother: { $ref: "person" , $id: ObjectId('4de504a5cd755c5ac9000000') } },
$or: [
…
-
This is one is really weird. It looks like if you declare a field to be a primary key, other ListFields which are empty don't get saved. When I run the test case appended below, I get:
```
[]
[]
{u…
-
I am currently on `0.20.0` for `mongoengine`.
I have a route `/healthcheck` which does something like `Foo.object.count()` to make sure mongo connection is valid.
When I try upgrading `mongoen…
-
Sorry but why the name djongo ? and not django-mongoengine ?
-
If you'd like to report a bug in Flask-Appbuilder, fill out the template below. Provide
any extra information that may be useful
Responsible disclosure:
We want to keep Flask-AppBuilder safe for …
yuyou updated
2 years ago
-
A document with the following structure will crash MongoEngine 0.24.0
```python
class MyDoc(Document):
fld = GenericReferenceField()
meta = {
"indexes": [{"fields": ["fld._r…
-
This happens on python version 3.7.4 and 3.6.8 using
mongoengine version from 0.15.3 up to 0.18.2
Code works correctly on python version 3.6.8 with mongoversion 0.15
Starting from a clean pyth…
-
If the name of the reference field is different from the name of the reference, it will cause a KeyError.
```
def get_field_by_name(self, name):
"""
docs
"""
…
-
``` python
In [19]: class Foo(models.Document):
....: foo = models.ListField()
....:
In [20]: Foo.objects.delete()
Out[20]: 0
In [21]: foo = Foo.objects.create()
In [22]: foo.foo
Out…
-