0

The title says it all.

I need to see the underlying query of a DBIOAction EDIT 1 When trying the solution suggested here it fails with the following:

Error:(978, 19) value result is not a member of slick.dbio.DBIOAction[Unit,slick.dbio.NoStream,slick.dbio.Effect.Write] logger.info(myAction.result.statements.headOption)

which is normal since the docs do not mention result to be part of the trait.
I am using slick 3.2.0-M1

EDIT 2 result doesn't seem to be an implicit.
In the same scope, I can use it on Query object but not on a DBIOAction object. unless DBIOAction has another implicit with the same name that should be imported separately, but there is nothing in the docs about it.

Moha the almighty camel
  • 4,327
  • 4
  • 30
  • 53

0 Answers0