millions-lock-64859
01/20/2025, 8:16 PMpgxpool.Pool instead of sql.DB ?
https://github.com/ory/dockertest/blob/v3/examples/PostgreSQL.mdbrief-egg-61061
01/20/2025, 8:16 PMbrief-egg-61061
01/20/2025, 8:16 PMpgxpool.Pool with dockertest for PostgreSQL database testing. The example you linked to uses sql.DB, but there's no direct mention of pgxpool.Pool in the given documents. However, I can provide some general information about Ory's use of dockertest: Ory does use dockertest for integration testing, as mentioned in the [Community resources](https://www.ory.sh/docs/ecosystem/community#community-projects) section: "Predefined dockertest libraries for Hydra, Kratos & Keto integration tests" Additionally, there are several community-contributed examples and articles about using dockertest with various databases, as listed in the [Community articles and tutorials](https://www.ory.sh/docs/ecosystem/community#community-articles-and-tutorials) section: - "Writing Tests for MongoDB using Dockertest in Go" - "Integration tests in Golang with dockertest" - "Go Package for better integration tests: Ory Dockertest" - "Using Dockertest with Golang" - "How to write a Go API Part 3: Testing With Dockertest" While these resources don't specifically address your question about pgxpool.Pool, they might provide some insights into how dockertest is used in the Ory ecosystem and could potentially be adapted for your specific use case with pgxpool.Pool. If you need a specific example using pgxpool.Pool, you might want to check the official Ory GitHub repositories or ask in the Ory community channels for more targeted assistance.