is it mentioned in the doc that you don't need to close the connection when it is written in the form of async with pool.acquire() as con:
I know it is somehow obvious for python users.
but for newer python users i think it's not so clear.
even some python devs may use the with statement for the first time to make database access ,so they are not familiar with that convention .
is it mentioned in the doc that you don't need to close the connection when it is written in the form of
async with pool.acquire() as con:I know it is somehow obvious for python users.
but for newer python users i think it's not so clear.
even some python devs may use the
withstatement for the first time to make database access ,so they are not familiar with that convention .