mirror of
https://github.com/dg/dibi.git
synced 2025-08-09 23:56:58 +02:00
typo
This commit is contained in:
@@ -341,7 +341,7 @@ $database->query('INSERT INTO users', [
|
|||||||
There are three methods for dealing with transactions:
|
There are three methods for dealing with transactions:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$database->beginTransaction();
|
$database->begin();
|
||||||
|
|
||||||
$database->commit();
|
$database->commit();
|
||||||
|
|
||||||
|
@@ -82,10 +82,9 @@ $tests = function ($conn) {
|
|||||||
$conn->translate('SELECT 1 %lmt', -10)
|
$conn->translate('SELECT 1 %lmt', -10)
|
||||||
);
|
);
|
||||||
|
|
||||||
Assert::exception(
|
Assert::exception(function () {
|
||||||
$conn->translate('SELECT 1 %ofs %lmt', 10, 10),
|
$conn->translate('SELECT 1 %ofs %lmt', 10, 10);
|
||||||
Dibi\NotSupportedException::class
|
}, Dibi\NotSupportedException::class);
|
||||||
);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user