my @a = qw(foo bar baz); ãããªé åãã ?,?,? ã¨ããæååã使ãããå ´åãããã¾ãã ä¾ãã°ã SELECT * FROM hoge WHERE user_id IN (?,?,?); ã¿ãã㪠SQL ã«ããå ´åã®ãã¬ã¼ã¹ãã«ããä½ãã¨è¨ã£ãå ·åã«ã 社å IRC ã§ãclouder ãããè¨ãåºãã¦ã 18:27 <clouder>join(',', map('?', @a)) 18:27 <clouder> ãããªã®ããæãã¤ããªããã ã¨è¨ãã ã¾ããããã妥å½ã¨ããããæ®éãããæãæµ®ãã¶ããªã¼ã£ã¦æã£ã¦ãããä¼ç¤¾ã® dos ããã¨ãã人ã 19:15 <dos> '?,' x @a; 㧠s/,$//; ã¨ããソï¾ï½ï½°ï½¼ï½®ï¾ ã¨ããç°æ§ãªãã¨ãè¨ãåºããã sub placeholder_from_array { return join(',',
{{#tags}}- {{label}}
{{/tags}}