Skip to content

Commit 223b956

Browse files
author
Sylvestre
authored
Add CONECT to allowed sql verbs (#43)
1 parent 4f85a32 commit 223b956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mssql.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const TYPES = mssql.TYPES;
99

1010
const pools = new Map();
1111

12-
const READ_ONLY = new Set(["SELECT", "USAGE"]);
12+
const READ_ONLY = new Set(["SELECT", "USAGE", "CONNECT"]);
1313

1414
const ajv = new Ajv();
1515
const validate = ajv.compile({

0 commit comments

Comments
 (0)