Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
guizmaii committed Sep 30, 2023
1 parent c8446ac commit a9c5c43
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ trait BatchValuesSpec extends Spec with BeforeAndAfterEach {
(1 to maxRows).map(i => Product(i, s"Product-$i", i.toLong * 100))

object `Ex 1 - Batch Insert Normal` {
implicit val meta: context.InsertMeta[Product] = insertMeta[Product](_.id)
val products = makeProducts(22)
val batchSize = 5
implicit val meta = insertMeta[Product](_.id)
val products = makeProducts(22)
val batchSize = 5
def opExt = quote { (transform: Insert[Product] => Insert[Product]) =>
liftQuery(products).foreach(p => transform(query[Product].insertValue(p)))
}
Expand Down

0 comments on commit a9c5c43

Please sign in to comment.