Documentation ¶
Index ¶
- func OpenTestPoolLibPQ(t testing.TB) adapter.ConnPool
- func OpenTestPoolMaxConnsLibPQ(t testing.TB, maxConnections int, schema string) adapter.ConnPool
- func OpenTestPoolMaxConnsPGXv3(t testing.TB, maxConnections int, schema string) adapter.ConnPool
- func OpenTestPoolMaxConnsPGXv4(t testing.TB, maxConnections int32, schema string) adapter.ConnPool
- func OpenTestPoolPGXv3(t testing.TB) adapter.ConnPool
- func OpenTestPoolPGXv4(t testing.TB) adapter.ConnPool
- type TemplateContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenTestPoolLibPQ ¶
OpenTestPoolLibPQ opens connections pool user in testing
func OpenTestPoolMaxConnsLibPQ ¶
OpenTestPoolMaxConnsLibPQ opens connections pool user in testing
func OpenTestPoolMaxConnsPGXv3 ¶
OpenTestPoolMaxConnsPGXv3 opens connections pool user in testing
func OpenTestPoolMaxConnsPGXv4 ¶
OpenTestPoolMaxConnsPGXv4 opens connections pool user in testing
func OpenTestPoolPGXv3 ¶
OpenTestPoolPGXv3 opens connections pool user in testing
Types ¶
type TemplateContext ¶
type TemplateContext struct { // Schema is database schema name. Schema string }
TemplateContext is data passed to GO template Execute call.
Click to show internal directories.
Click to hide internal directories.