al_smaga
al_smaga
I added support for $elemMatch, maybe $allMatch (not tested). aaf039555c3241c355d6d1186f20d9fdd1d833a5 ``` feats: [{subfeat: 1, ...}, {subfeat: 2, ...}] db.filter(feats_L_elemMatch__subfeat__eq = 1) feats: ['FOO', 'BAR'] db.filter(feats_L_elemMatch__regex = '(?i)fo') ``` "\_L\_" -...
I fixed doctest. But travis log error: > couchdb.http.ServerError: (400, ('bad_request', 'Referer header required.')) I not get this error in local test log.
Maybe like in django: For example: ``` data1 = db.find(field__eq='A', limit=50) data2 = db.find(Q(field__eq='A') & (Q(field1__subfield1__in=['lama', 'amal']) | Q(field2__subfield2__regex ="foo")), limit=40, fields=['field1', 'field2']) ``` I have implementation of this. If...
I added filter method (mango query) with comments: https://github.com/pirr/couchdb-python/commit/6f051bcd4879955610d6d2c182b53f09266022e7
https://github.com/djc/couchdb-python/pull/324 this is my first pool reguest. If there are comments, please, I will correct