Tim (from typesafe.courses)
Explore posts from serversDTDrizzle Team
•Created by Tim (from typesafe.courses) on 11/16/2023 in #help
how to use ilike securely?
ilike(table, sql
%${userQuery}%
) produces the wrong SQL code by adding quotes around the userQuery text. however we can't use sql.raw as it would make this suceptible to sql injection. how can we interpolate user provided for ilike ? Thx5 replies