#Better documentation

1 messages · Page 1 of 1 (latest)

gray phoenix
#

If this post is unnecessary I will remove it, I just find that some of laravels documentation does not give enough explanation. For example, I am trying to implement a LockForUpdate(), yet the documentation does not explain enough for me to implement it. Does the lock need to occur in a transaction, does Laravel record any meta data with the lock, is there a timer associated with the lock?

My issue isn't just related to LockForUpdate(), I find other components I would like to implement difficult to implement due to a lack of documentation or at least a reduced about of documentation. Is there another site that explains the items in a greater detail?

lunar ravine
#

The method you're referencing is a DB feature, so it's not really Laravel's job to explain. Like, an understanding of how SQL works would be a requirement to use a DB. It would have nothing to do with transactions etc, it performs a SELECT [...] FOR UPDATE