You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to see the transpiled(translated) query from DjangoORM -> SQL -> mongodb.
How can i see it?
Python script
content_db_exact = Domains.objects.filter(domains__startswith='{"0": ')
#for example i want to see how this query will translate into pymongo(mongodb) query?
i need this for deeper research and cannot see it anywhere in the djongomapper docs.
Example of my need:
#python type:
Context.objects.filter(someField__contains="something")
#retrieve mongodb djongo translate output
I know that djongo translates something like this internally:
filter = {
'blog.name': {
'$regex': '^Beatles.*$'
}
}
How can i output this? i need it for testing.
Traceback
NO_traceback
The text was updated successfully, but these errors were encountered:
One line description of the issue
I want to see the transpiled(translated) query from DjangoORM -> SQL -> mongodb.
How can i see it?
Python script
content_db_exact = Domains.objects.filter(domains__startswith='{"0": ')
#for example i want to see how this query will translate into pymongo(mongodb) query?
i need this for deeper research and cannot see it anywhere in the djongomapper docs.
Example of my need:
#python type:
Context.objects.filter(someField__contains="something")
#retrieve mongodb djongo translate output
I know that djongo translates something like this internally:
filter = {
'blog.name': {
'$regex': '^Beatles.*$'
}
}
How can i output this? i need it for testing.
Traceback
NO_traceback
The text was updated successfully, but these errors were encountered: