robinhood / thorn

Easy Webhooks for Python
Other
527 stars 57 forks source link

is there any ways to format values with just one line? #28

Closed favorinfo closed 6 years ago

favorinfo commented 6 years ago

I've get the sql command like insert a(k,k,k) values (a,a,a),(b,b,b),(c,c,c);

Once I formatted the sql commands, it ran out

insert into
  a (
    k,
    k,
    k
  )
values
  (
    a,
    a,
    a
  ),
  (
    b,
    b,
    b
  );

is there anyways to format the commands to

insert into a(k,k,k) values
(a,a,a),
(b,b,b);
favorinfo commented 6 years ago

sorry for uploading the error issues