asyncpgsa icon indicating copy to clipboard operation
asyncpgsa copied to clipboard

SAConnection not supporting prepare statement method

Open danigosa opened this issue 7 years ago • 1 comments

Hi,

we find the library very handy above all the fact that automagically compiles the queries, however we noticed (and it's kinda annoying) that connection from pool is not supporting prepare method. I think it is like 5 lines of code inside SAConnection at most, and would keep the library consistent and not having to do when preparing statements compile_queryby hand.

danigosa avatar Oct 12 '17 21:10 danigosa

every fetch does a prepare for you. But sure, I understand your desire to call the prepare method yourself. Feel free to add a PR. Otherwise, it might be a little before I can get to this.

nhumrich avatar Oct 24 '17 16:10 nhumrich