AnyhowStep / tsql

A SQL query-builder/ORM
37 stars 3 forks source link

Research/Write tests for "proxied connection pooling"? #303

Open AnyhowStep opened 4 years ago

AnyhowStep commented 4 years ago

https://aws.amazon.com/rds/proxy/

I'm pretty sure we don't need to write tests for this because I think every bit of code assumes connections will always come from a pool. So, we never have the concept of "this connection is always mine, no one used it before me, and no one else will use it after me".

So, we should be good here. But, just in case...


I mean, we have an IPool and Connection interface. And connections only ever come from an IPool. So... We should be good..... Right?