Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sqlchat/sqlchat
/ checkStatementIsSelect
Function
checkStatementIsSelect
src/utils/sql.ts:1–3 ·
view source on GitHub ↗
(statement: string)
Source
from the content-addressed store, hash-verified
1
export
const
checkStatementIsSelect = (statement: string) => {
2
return
statement.toUpperCase().trim().startsWith(
"SELECT"
);
3
};
Callers
1
QueryDrawer
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected