© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
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,959
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
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
8mo ago
helper function parameter type
DT
Drizzle Team / help
3y ago