Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/effect-app/libs
/ normalizeSql
Function
normalizeSql
repos/effect/packages/sql/sqlite-do/test/Client.test.ts:150–150 ·
view source on GitHub ↗
(sql: string)
Source
from the content-addressed store, hash-verified
148
}
149
150
const
normalizeSql = (sql: string) => sql.replace(/;$/,
""
).replace(/\s+/g,
" "
).trim()
151
152
const
unquote = (value: string) => value.replace(/^
"|"
$/g,
""
)
153
Callers
2
exec
Method · 0.85
hasForbiddenTransactionSql
Function · 0.85
Calls
1
replace
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…