mirror of
https://github.com/dg/dibi.git
synced 2025-08-29 16:59:49 +02:00
- improved examples
This commit is contained in:
@@ -13,7 +13,7 @@ dibi::connect(array(
|
||||
|
||||
echo "<h2>Before:</h2>\n";
|
||||
dibi::query('SELECT * FROM [products]')->dump();
|
||||
|
||||
// -> 3 rows
|
||||
|
||||
|
||||
dibi::begin();
|
||||
@@ -25,4 +25,5 @@ dibi::rollback(); // or dibi::commit();
|
||||
|
||||
|
||||
echo "<h2>After:</h2>\n";
|
||||
dibi::query('SELECT * FROM [products]')->dump();
|
||||
dibi::query('SELECT * FROM [products]')->dump();
|
||||
// -> 3 rows
|
||||
|
Reference in New Issue
Block a user