1
0
mirror of https://github.com/dg/dibi.git synced 2025-10-20 01:06:25 +02:00

- added DibiPostgreDriver::getIndexes()

- implemented DibiTables types autodetection
- all examples uses Nette::Debug
This commit is contained in:
David Grudl
2008-10-28 19:31:32 +00:00
parent a2d0d66d0f
commit 8d063fe0a1
22 changed files with 758 additions and 26 deletions

View File

@@ -2,6 +2,7 @@
<pre>
<?php
require_once 'Nette/Debug.php';
require_once '../dibi/dibi.php';
@@ -18,7 +19,7 @@ $res->setType('customer_id', Dibi::FIELD_INTEGER);
$res->setType('added', Dibi::FIELD_DATETIME, 'H:i j.n.Y');
$row = $res->fetch();
var_dump($row);
Debug::dump($row);
// outputs:
// object(DibiRow)#3 (3) {
// customer_id => int(1)