-
Please tell me how you can make a My example: I also added |
Beta Was this translation helpful? Give feedback.
Answered by
elprans
Sep 1, 2021
Replies: 1 comment 1 reply
-
You have to add await pg.fetch(SELECT * FROM public.table WHERE field LIKE ANY($1::text[]), [f'%{n}%' for n in names_array]) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
FyZzyss
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have to add
%
(no need to escape it) to each element ofnames_array
: