python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Update MongoDB success in one process but can not find result on DB?
I use mongoengine to connect and query to mongodb. In init, I create a connection to the db. After that, i create an instance and do some operator with db. The result of these ops is shown in termial...
phuongnam
Votes: 0
Answers: 0
How to add collation in indexes for mongodb?
I work with Mongoengine in Django, got task to sort by first_name, last_name fields ignoring case and leading whitespaces
that is why add collation in queryset:
collation = dict(
locale='en',
...
autoescape_on
Votes: 0
Answers: 1
How to trim/strip leading whitespaces from StringField for list view in Django/Mongodb?
Want to sort data by names, but unfortunately there are many data with leading whitespaces, that is why rest_framework.filters.OrderingFilter doesn't work properly. Mongo, DRF are used in my project.
...
autoescape_on
Votes: 0
Answers: 3
Aggregation function for Counting of Duplicates in a field based on duplicate items in another field
I am using mongoengine as ORM with flask application. The model class is define like
class MyData(db.Document):
task_id = db.StringField(max_length=50, required=True)
url = db.URLField(max_len...
imhans4305
Votes: 0
Answers: 1