简体   繁体   中英

Slick Transactions

Could anyone suggest if we can use transaction on just read operations in slick? I see that we can your transactionally but is it useful if we use it just for multiple fetch or read operations

There isn't a short answer to this, but yes, using a transaction will often guarantee a more consistent view of the data in your database. This depends on the isolation level of your underlying database.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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