mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Add DB->beginTransaction() as an alias to begin()
This commit is contained in:
parent
6ccbb0e792
commit
749037249c
1 changed files with 10 additions and 0 deletions
|
|
@ -559,6 +559,16 @@ class DB
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Alias to begin().
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function beginTransaction(): int
|
||||||
|
{
|
||||||
|
return $this->begin();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Begin a transaction.
|
* Begin a transaction.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue