What the parent comment is correctly saying is that for certain databases (that are oriented around stateful connections) you might benefit from a infrastructure-level optimization.
However, this is not the case for all databases. Furthermore, modern database vendors are extremely motivated to address the serverless usecase