Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Using parameter in LIKE - Drizzle Team
DT
Drizzle Team
•
2y ago
•
2 replies
ciscoheat
Using parameter in LIKE
Is it safe to pass a string directly into a like condition
, or does it have to be quoted or parameterized somehow
?
where
(
like
(entries.text,
`%${
filters
.
search
}%`
))
where
(
like
(entries.text,
`%${
filters
.
search
}%`
))
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Using transactions in automated testing like Jest
DT
Drizzle Team / help
3y ago
How do I configure SSL mode without using the connectionString parameter
DT
Drizzle Team / help
3y ago
pushSQLiteSchema with force parameter?
DT
Drizzle Team / help
6mo ago
helper function parameter type
DT
Drizzle Team / help
2y ago