1 parent 4be42c6 commit 5a8a40aCopy full SHA for 5a8a40a
1 file changed
docs/reference/environment-variables.md
@@ -182,6 +182,15 @@ The `dumpexplain` command prints the JSON-formatted result from running
182
183
`SQLCDEBUG=dumpexplain=1`
184
185
+### databases
186
+
187
+Setting this value to `managed` prevents `sqlc vet` from opening connections to
188
+databases configured with a `uri`. Rules that need a database connection will
189
+only run against a managed database; evaluating such a rule against a `uri`
190
+database returns an error.
191
192
+`SQLCDEBUG=databases=managed`
193
194
## SQLCTMPDIR
195
196
If specified, use the given directory as the base for temporary folders. Only
0 commit comments