Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PostHog/duckgres
/ escapeSQLStringLiteral
Function
escapeSQLStringLiteral
server/querylog.go:534–536 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
532
var
transpiled *string
533
if
isTranspiled {
534
boundedTranspiledQuery := boundQueryLogText(transpiledQuery)
535
transpiled = &boundedTranspiledQuery
536
}
537
538
clientAddr, clientPort := c.clientAddrPort()
539
Callers
1
TestEscapeSQLStringLiteral
Function · 0.70
Calls
no outgoing calls
Tested by
1
TestEscapeSQLStringLiteral
Function · 0.56