Hi - I have small question: I created a database u...
# dev
n
Hi - I have small question: I created a database using BuildDatabaseConnection and was wondering if its OK to use it concurrently in several goroutines or should each goroutine create its own database connection
b
Sure - the Database interface uses callback for transactions or perform a single operation. The implementation uses a connection pool to enable working in a concurrent environment.
n
Thanks!