I expected the example to be less code. Not more. Other than making it more familiar for C# devs what value does it add?
Presumably you would want to wrap that in a try/finally so that you don't accidentally not release the client if there is an exception.
You would go from:
const client = await pool.connect()
try {
// Do stuff. Possibly throw.
} finally {
client.release()
}
to await using client = pool.connect()
// Do stuff. Possibly throw.