Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. def insertCoin(coinInsert: CoinInsert): Update0 =
  2. sql"""
  3. INSERT INTO coins (code, price, logTimestamp)
  4. VALUES (${coinInsert.code}, ${coinInsert.price}, ${coinInsert.logTimestamp})
  5. """.update
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement