Slick 3.1 - Printing SQL from DBIOAction (insert statements)
问题 In Slick 3.1, with the complete redesign of the new API, it seems to be impossible to view the generated SQL statements when doing an insert. If you have something like this val action = DBIO.seq( SomeTables ++= Seq(TableData(1,"First"),TableData(2,"Second")) ) It doesn't seem you are actually able to see the generated SQL from the action . The result method doesn't actually exist, and variations of statements just print ? in place of the actual values if you don't use DBIO.seq , if you are