Jump to content

Archived

This topic is now archived and is closed to further replies.

vbmark

Doing READ UNCOMMITTED in Laravel

Recommended Posts

Does this look like the right way to do READ UNCOMMITTED in Laravel?

$cars = Cars::raw('SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;')->Active()->get();

Thanks!

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.