cvs: pear /DB_QueryTool/docs example.php
| From: | Wolfram Kriesing | Date: | Sun, 09 Feb 2003 20:02:38 +0000 |
| Subject: | cvs: pear /DB_QueryTool/docs example.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8781@lists.php.net to get a copy of this message | ||
cain Sun Feb 9 15:02:38 2003 EDT
Modified files:
/pear/DB_QueryTool/docs example.php
Log:
- customize sequence name
Index: pear/DB_QueryTool/docs/example.php
diff -u pear/DB_QueryTool/docs/example.php:1.2 pear/DB_QueryTool/docs/example.php:1.3
--- pear/DB_QueryTool/docs/example.php:1.2 Sun Feb 9 14:42:32 2003
+++ pear/DB_QueryTool/docs/example.php Sun Feb 9 15:02:38 2003
@@ -15,7 +15,7 @@
// | Author: Wolfram Kriesing, Paolo Panto, vision:produktion <wk@visionp.de>
// +----------------------------------------------------------------------+
//
-// $Id: example.php,v 1.2 2003/02/09 19:42:32 cain Exp $
+// $Id: example.php,v 1.3 2003/02/09 20:02:38 cain Exp $
//
ini_set('include_path',realpath(dirname(__FILE__).'/../../../').':'.realpath(dirname(__FILE__).'/../../../../includes').':'.ini_get('include_path'));
@@ -40,10 +40,11 @@
define ('TABLE_USER', 'uuser'); // user is a reserved word in
postgres
}
-
+
class user extends DB_QueryTool
{
var $table = TABLE_USER;
+ var $sequenceName = TABLE_USER;
// this is default, but to demonstrate it here ...
var $primaryCol = 'id';