table icon indicating copy to clipboard operation
table copied to clipboard

auto quote string variables in sql template

Open ZeekoZhu opened this issue 3 years ago • 0 comments

# authors = ['alice', 'bob', 'jerry']
select * from commits where author in (${authors})

should output:

select * from commits where author in ('alice', 'bob', 'jerry')

ZeekoZhu avatar Nov 15 '22 06:11 ZeekoZhu