1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-29 16:59:49 +02:00

- improved examples

This commit is contained in:
David Grudl
2008-10-28 02:06:55 +00:00
parent ab892255d3
commit 7a6cdc8afa
14 changed files with 105 additions and 45 deletions

View File

@@ -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