Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def gen_table_sql(col_list):
- # Joins all rows with a comma and a newline except for the last
- query = ',\n'.join(col_list)
- return query
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement