Simple combination for play and quill-jdbc-zio. Please refer to project example
for concrete usage.
play与quill较为简单的结合,具体使用参看example
Add the dependency in build.sbt
:
在项目中添加依赖:
libraryDependencies += "io.github.waynewang12" %% "play-quill" % "0.0.1"
Support only Mysql currently. But it is easy to extend to other databases. Just refer to QuillMysqlComponents
to create different database support.
目前只支持Mysql,但是后续扩展比较简单,参照QuillMysqlComponents
创建对应数据库的类型即可。
Git clone this repositry and execute sbt 'project example' run
.
将本仓库clone到本地,然后执行sbt 'project example' run
,即可运行。