|
TableSelect::lockExclusiveExecute EXCLUSIVE LOCK Description
public mysql_xdevapi\TableSelect mysql_xdevapi\TableSelect::lockExclusive(int
$lock_waiting_option = ?)Execute a read operation with EXCLUSIVE LOCK. Only one lock can be active at a time. Parameters
Return ValuesTableSelect object. ExamplesExample #1 mysql_xdevapi\TableSelect::lockExclusive example
The above example will output something similar to: Array ( [0] => Array ( [name] => John [age] => 42 ) [1] => Array ( [name] => Sam [age] => 42 ) ) |