{"repo":"gitbucket/blocking-slick","free":true,"listed":false,"github":"https://github.com/gitbucket/blocking-slick","clone":"git clone https://github.com/gitbucket/blocking-slick.git","description":"Slick2 compatible blocking API for Slick3","language":"Scala","stars":61,"topics":["scala","database","sql","slick"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"blocking-slick ============== Provides Slick2 compatible blocking API for Slick3. Setup ----- Add following dependency to your build.sbt : You can enable blocking API by import the blocking driver as follows: Slick2 style blocking API ---- See the example of use of blocking API provided by blocking-slick: Plain sql can be executed synchronously as well. Transaction is available by using withTransaction instead of withSession : DBIO support ---- blocking-slick also provides a way to run DBIO synchronously. It would help to rewrite Slick2 style code to Slick3 style code gradually. Note that using flatMap and andThen requires an ExecutionContext , but if you run that code synchronously that value will be ignored. Resources ---- You can see actual codes in the testcase, and also a blocking-slick with Play2 and play-slick example is available at here.","default_branch":null,"files":null,"tree":[],"storefront":"/r/gitbucket","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gitbucket/blocking-slick/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}