Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ normalizeSql
Function
normalizeSql
packages/sql/sqlite-do/test/Client.test.ts:156–156 ·
view source on GitHub ↗
(sql: string)
Source
from the content-addressed store, hash-verified
154
}
155
156
const
normalizeSql = (sql: string) => sql.replace(/;$/,
""
).replace(/\s+/g,
" "
).trim()
157
158
const
unquote = (value: string) => value.replace(/^
"|"
$/g,
""
)
159
Callers
2
exec
Method · 0.85
hasForbiddenTransactionSql
Function · 0.85
Calls
2
trim
Method · 0.80
replace
Method · 0.45
Tested by
no test coverage detected