Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/outerbase/studio
/ escapeSqlBinary
Function
escapeSqlBinary
src/drivers/sqlite/sql-helper.ts:20–22 ·
view source on GitHub ↗
(value: ArrayBuffer)
Source
from the content-addressed store, hash-verified
18
}
19
20
export
function
escapeSqlBinary(value: ArrayBuffer) {
21
return
`x
'${hex(value)}'
`;
22
}
23
24
export
function
escapeSqlValue(value: unknown) {
25
if
(value === undefined)
return
"DEFAULT"
;
Callers
2
sql-helper.test.ts
File · 0.90
escapeSqlValue
Function · 0.85
Calls
1
hex
Function · 0.90
Tested by
no test coverage detected