Skip to content

Commit

Permalink
chore: better filter keywords set
Browse files Browse the repository at this point in the history
  • Loading branch information
vlastahajek committed Oct 15, 2024
1 parent 883ae6a commit 5323644
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ui/src/utils/queryFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ const excludedStatements: string[] = [
'delete',
'alter',
'create',
'update',
'insert',
'grant',
'revoke',
'use',
]

export const isExcludedStatement = (query: string): boolean => {
Expand Down

0 comments on commit 5323644

Please sign in to comment.