Tuesday, 2 July 2019

NODE-PG define transactions pls

Was wondering if someone on here could help me interpret some of the 'pg' documentation ..​When it comes to pooling the doc recommends that if u dont need a transaction or intend to run only a single query then just use the pool since that will just grab any available client within the pool and prevents the risk of leaking a client by not checking them back in or something .. in what situation would you be connecting to the pool but not performing a transaction ? I think my issue is in the defintion of a transaction .. google isnt helping.​thanks

Submitted July 02, 2019 at 02:34PM by darealbjamesy

No comments:

Post a Comment