Skip to content

Commit

Permalink
Switch simulation to use column names
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronny Bräunlich committed Mar 12, 2019
1 parent fe5f782 commit 65949c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class SelectTypedCheckSimulation extends Simulation {
.select("*")
.from("bar")
.where("abc=4")
.mapResult(rs => Stored(rs.int(0), rs.int(1)))
.mapResult(rs => Stored(rs.int("abc"), rs.int("foo")))
.check(singleResponse[Stored].is(Stored(4,4))
.saveAs("myResult"))
).pause(1).
Expand Down

0 comments on commit 65949c9

Please sign in to comment.