You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(vet): Run rules against a managed database (#2751)
* feat(vet): Support managed databases
* feat(vet): Run rules against a managed database
* Add managed to JSON schema
* Use different hostname for region discovery
* docs: second pass at managed-databases.md
---------
Co-authored-by: Andrew Benton <[email protected]>
`sqlc` can create and maintain hosted databases for your project. These
6
+
databases are immediately useful for linting queries with [`sqlc vet`](vet.md)
7
+
if your lint rules require a connection to a running database. PostgreSQL
8
+
support is available today, with MySQL on the way.
9
+
10
+
This feature is under active development, and we're interested in supporting
11
+
other use-cases. Beyond linting queries, you can use sqlc managed databases
12
+
in your tests to quickly stand up a database per test suite or even per test,
13
+
providing a real, isolated database for a test run. No cleanup required.
14
+
15
+
Interested in trying out managed databases? Sign up [here](https://docs.google.com/forms/d/e/1FAIpQLSdxoMzJ7rKkBpuez-KyBcPNyckYV-5iMR--FRB7WnhvAmEvKg/viewform) or send us an email
0 commit comments