Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Basic Example with JSX</title>
<link rel="stylesheet" href="engauge.css" />
<script src="//www.parsecdn.com/js/parse-1.6.7.min.js"></script>
</head>
<body>
<!-- TODO: need to move this async -->
class BulkInsertSpec {
val ctx: PostgresAsyncContext[SnakeCase] = // ...
import ctx._
case class Examples(i: Int)
private val bulk = (1 to 2000).map(Examples(_))
describe("bulk insert") {
it("I expect this to be much faster") {
val start = Instant.now