Skip Headers

# Unit of Work Method beginTransactionEarly

Previous

Next

This method is advanced API. If you call `beginTransactionEarly` on an instance of a unit of work, all read operations should be performed through that instance of the unit of work.

This method starts a database transaction immediately: any objects you read will lock data in the database before commit time, reducing concurrency.