{
  "getBin": "SELECT * from SANDBOX where url=? and revision=?",
  "getLatestBin": "SELECT * from SANDBOX where url=? ORDER BY revision DESC LIMIT 1"
}

{
  "getBin": "SELECT * FROM sandbox WHERE url=? AND revision=?",
  "getLatestBin": "SELECT * FROM sandbox WHERE url=? ORDER BY revision DESC LIMIT 1",
  "setBin": "INSERT INTO sandbox (javascript, css, html, created, last_viewed, url, revision) VALUES (?, ?, ?, NOW(), NOW(), ?, ?)",
  "binExists": "SELECT id FROM sandbox WHERE url=? LIMIT 1"
}

Add SQL strings for creating and updating bins
Add SQL strings for creating and updating bins
