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
// Strip leading parens so wrapped selects like "(SELECT ...)" still validate.
159
+
constleader=query.trim().replace(/^\(+\s*/,'')
160
+
if(!READ_ONLY_STATEMENT.test(leader)){
161
+
thrownewError(
162
+
'The query operation only allows read-only statements (SELECT, WITH, SHOW, DESCRIBE, EXPLAIN, EXISTS). Use the Execute Raw SQL operation to run writes or DDL.'
0 commit comments