linkyndy / remodel

Very simple yet powerful and extensible Object Document Mapper for RethinkDB, written in Python.
MIT License
193 stars 29 forks source link

Filter by function #28

Closed NamPNQ closed 5 years ago

NamPNQ commented 9 years ago

I think need make edit something https://github.com/linkyndy/remodel/blob/master/remodel/object_handler.py#L43 to allow filter by function

linkyndy commented 9 years ago

Currently filter only works with dicts. I have in mind a total refactor of the entire document retrieval process, and almost for sure I'll add the possibility to filter using a lambda, as it's definitely very useful. Thanks for reporting this and stay close as new releases will come! :)

NamPNQ commented 9 years ago

So cool +1

Gesias commented 9 years ago

Agreed, very nice!

Vänliga hälsningar, Klas

On 23 June 2015 at 12:31, Phạm Ngọc Quang Nam notifications@github.com wrote:

So cool +1

— Reply to this email directly or view it on GitHub https://github.com/linkyndy/remodel/issues/28#issuecomment-114438155.

NamPNQ commented 9 years ago

Hi @linkyndy, is have update info about this isuse?

linkyndy commented 9 years ago

Although I have the best intentions, time isn't quite on my side lately, and I also started migrating to other languages so Python isn't my "tool" of choice at the moment. I'm trying to do my best; I plan to release this 0.5.0, fix some more bugs and release a stable 1.0.0, after which probably I'll have to step aside and just review what contributors bring to this project. Unfortunately, I can't predict an accurate date when all these things will happen. I can just promise I'll try to deliver.

NamPNQ commented 9 years ago

Tks you for reply

I think it is enought :dancer:

image

linkyndy commented 5 years ago

A little late, but this has just been merged! Thanks @NamPNQ for opening this up!