简体   繁体   English

对谷歌数据流的流畅支持

[英]Slick support for google dataflow

Can we use slick to connect to database while in Google data flow?我们可以在 Google 数据流中使用 slick 连接到数据库吗? Or is it preferred to use JBBC IO only?还是更喜欢只使用 JBBC IO?

Also is there a way to handle async requests?还有一种方法可以处理异步请求吗? like for example, mapasync in case of Akka Streams.例如,在 Akka Streams 的情况下使用 mapasync。

Per current documentation ( http://slick.lightbend.com/doc/3.0.0/supported-databases.html ), Google data flow isn't supported.根据当前文档 ( http://slick.lightbend.com/doc/3.0.0/supported-databases.html ),不支持 Google 数据流。

Slick supports async requests pretty much everywhere by default I'd say, it'll give you nice Future to play with.默认情况下,Slick 几乎在任何地方都支持异步请求,我会说,它会给你一个很好的 Future 来玩。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM