Julio Lacerda

Results 8 comments of Julio Lacerda

Thanks @vdboor I will check this out!

Hey @fantix, I've been working on it and that's true, it is a bit hacky. The idea is to provide access to the events through hooks on the *gino/crud.py* file....

Hi, I created a mixin and added it to CRUDModel class, this way we can take advantage of the SQLAlchemy Core Events. The code is a bit messy and can...

Yeah, you're absolutely right, it shouldn't block the main process. How about creating a task by that moment? ``` import asyncio ... class GinoSQLAlchemyCoreEvents: async def call_method(self, method_to_call, *args, **kwargs):...

Perfect, I think by having this functionality on CRUD class would be pretty good. There's also the possibility to write against to the database using other methods rather than CRUD's...

Ahh alright! :)

@fantix Thank you for the quick response. I think this PR will cover a lot of cases when analyzing database queries, for sure it will be interesting to have things...