This website requires JavaScript.
Explore
Help
Sign In
natty
/
calckey
Watch
1
Star
0
Fork
You've already forked calckey
0
Code
Issues
1
Pull Requests
Packages
Projects
Releases
Wiki
Activity
544e3a008e
calckey
/
packages
/
backend
/
src
/
misc
/
sql-like-escape.ts
4 lines
83 B
TypeScript
Raw
Blame
History
export
function
sqlLikeEscape
(
s
:
string
)
{
return
s
.
replace
(
/([%_])/g
,
"\\$1"
)
;
}
Reference in New Issue
View Git Blame
Copy Permalink