SLICK 3.0 - multiple queries depending on one another - db.run(action)
问题 I am new to Slick 3 and so far I have understood that db.run are asynchronous call. the .map or .flatMap is run once the Future is returned. The problem in my code below is that all the sub queries do not work (nested db.run). Conceptually speaking, what am I not getting? Is it valid to do this kind of code as below? basically in the .map of the first query I do some actions depending on the first query. I see everywhere for loops with yield , is it the only way to go? Is the problem in my