Closed ioistired closed 5 years ago
Hi @bmintz !
That seems like a good idea, your PR is welcome ;-)
Do you want
__getattr__
or 4 methods corresponding to fetch, fetchval, fetchrow, and execute?
I think having 4 separate methods would be more readable
One of the things I like about asyncpg is its wrappers for common Connection methods, for instance pool.execute:
It would be nice if we could have such methods on TrioPoolProxy as well. Is that a possibility? I'd PR this myself but I don't know how dynamic you want it to be. Do you want
__getattr__
or 4 methods corresponding to fetch, fetchval, fetchrow, and execute?Nice project, btw!