Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytebase/bytebase
/ isSetRoleStatement
Function
isSetRoleStatement
backend/plugin/db/pg/pg.go:732–734 ·
view source on GitHub ↗
(stmt string)
Source
from the content-addressed store, hash-verified
730
)
731
732
func
isSetRoleStatement(stmt string) bool {
733
return
len(setRoleReg.FindString(stmt)) > 0
734
}
735
736
func
IsNonTransactionStatement(stmt string) bool {
737
if
len(dropDatabaseReg.FindString(stmt)) > 0 {
Callers
1
Execute
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected