Skip to content

Commit

Permalink
Add database driver note to SQL Wait strategy docs (#1916)
Browse files Browse the repository at this point in the history
Signed-off-by: Mihai Todor <[email protected]>
  • Loading branch information
mihaitodor authored Nov 14, 2023
1 parent ea35ff1 commit b55937c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/features/wait/sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ req := ContainerRequest{
WithQuery("SELECT 10"),
}
```

Note: You'll also need to import the appropriate [database driver](https://github.com/golang/go/wiki/SQLDrivers) in your test code such that Testcontainers can pick it up when connecting to the database.

0 comments on commit b55937c

Please sign in to comment.