API17:JDatabaseQuery::lock
From Joomla! Documentation
JDatabaseQuery::lock
Description
Method to lock the database table for writing.
public function lock (
$table_name
&$db
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $table_name | |||
| &$db |
- Returns boolean True on success.
- Defined on line 545 of libraries/joomla/database/databasequery.php
- Since

See also
JDatabaseQuery::lock source code on BitBucket
Class JDatabaseQuery
Subpackage Database- Other versions of JDatabaseQuery::lock
User contributed notes
Code Examples