http://pear.php.net/
pear-webmaster@lists.php.netpear-webmaster@lists.php.neten-usLatest releases of db_dataobjectThe latest releases for the package db_dataobjectDB_DataObject 1.11.5
http://pear.php.net/package/DB_DataObject/download/1.11.5/
Minor feature and fix release.<br />
<br />
Changes<br />
#---- - force usage of tableName - rather than direct access to __table<br />
#---- - autoJoin: check joined tables against database structure <br />
<br />
Bugs<br />
#20536 - generator spaces after dataobject variables<br />
<br />
Feature requests<br />
#20540 - support empty extends_location so that no require_once is generated by Generator
2015年11月10日T07:32:04-05:00alan_kDB_DataObject 1.11.4
http://pear.php.net/package/DB_DataObject/download/1.11.4/
Minor feature and fix release. (Basically a yearly release now..)<br />
<br />
#20291 Ignored in update $dao->field = 0 (fix bad check for null)<br />
#20149 - correct free for linked objects / more detailed error reporting on update error<br />
#19962 - Cannot insert or update when part of a reference in multi-key case is NULL by vtamma<br />
#19973 - accept START TRANSACTION as an alias for BEGIN<br />
- suuport for useindex (mysql only) and<br />
#19922 - pear error not being set in static property.<br />
- fix static infront of depricated staticget() method and fix call to PEAR:: static calls.<br />
- Fix some static errors that are now fatal unfortunatly...<br />
- fix building of autojoin when using distinct columns
2015年04月08日T10:54:58-05:00alan_kDB_DataObject 1.11.3
http://pear.php.net/package/DB_DataObject/download/1.11.3/
Minor feature and fix release. (Basically a yearly release now..)<br />
#19922 - fix for pear error not being set in static property.<br />
#19973 - accept START TRANSACTION as an alias for BEGIN<br />
#19962 - Cannot insert or update when part of a reference in multi-key case is NULL by vtamma<br />
#20149 - correct free for linked objects / more detailed error reporting on update error<br />
- fix building of autojoin when using distinct columns
2014年04月22日T06:16:04-05:00alan_kDB_DataObject 1.11.2
http://pear.php.net/package/DB_DataObject/download/1.11.2/
(re-release of 1.11.0 - to fix archive tar issue. / fix dependancy)<br />
<br />
Minor feature and fix release. (Basically a yearly release now..)<br />
<br />
Dependancies<br />
<br />
MDB2 and DB are now optional dependancies, although one of them is required.<br />
<br />
<br />
AutoJoin - improvements <br />
- support sqlValue and DB_DataObject_Cast values in setFrom()<br />
- correct filtering - diff and intersect... so additional cols do not get injected by exclude..<br />
- autoJoin( "exclude" => array( "col1", "col2") ) should now exclude the columns from selectAdd/As<br />
- correctly handle include in autojoin - based on derived column names<br />
- autojoin now supports include and distinct, and returns count as the column to count on + handles Closure on debugging output of config<br />
<br />
Other Changes<br />
- add limited support for building derived table queries - which can speed up mysql queries hugely when using distinct/limit <br />
<br />
Removed / changed / depricated<br />
- remove PHP4 support<br />
- Make staticGet depricated in generator and main code (move to end of file with rest of depricated stuff..<br />
<br />
Minor fixes<br />
- fix signature on depricated staticGet method<br />
- fix typo in links code DO::getLinks()<br />
- fix is_a syntax error - RTFM might be a good idea<br />
- check return value from generator<br />
- remove blob test from stringtostring code..<br />
<br />
Bug Fixes<br />
<br />
#19697 - str_replace only if needed to reduce memory - and move staticAutoloadTAble to depricated section<br />
#19637 - strip support with regex broke boolean settings<br />
#19640 - indentation not correct on generator <br />
<br />
#19500 - use same way that pear db mssql driver quotes for regular strings (tidy up)<br />
#19500 - support for mssql in DataObject Cast<br />
#19505 - simplify the proxy loading code detection and usage.<br />
#19479 - simpler test should do the job<br />
#19479 - link loaded test was incorrect<br />
#19475 - comment out a few echos that got left in
2013年04月05日T09:33:32-05:00alan_kDB_DataObject 1.11.1
http://pear.php.net/package/DB_DataObject/download/1.11.1/
(re-release of 1.11.0 - to fix archive tar issue.)<br />
<br />
Minor feature and fix release. (Basically a yearly release now..)<br />
<br />
Dependancies<br />
<br />
MDB2 and DB are now optional dependancies, although one of them is required.<br />
<br />
<br />
AutoJoin - improvements <br />
- support sqlValue and DB_DataObject_Cast values in setFrom()<br />
- correct filtering - diff and intersect... so additional cols do not get injected by exclude..<br />
- autoJoin( "exclude" => array( "col1", "col2") ) should now exclude the columns from selectAdd/As<br />
- correctly handle include in autojoin - based on derived column names<br />
- autojoin now supports include and distinct, and returns count as the column to count on + handles Closure on debugging output of config<br />
<br />
Other Changes<br />
- add limited support for building derived table queries - which can speed up mysql queries hugely when using distinct/limit <br />
<br />
Removed / changed / depricated<br />
- remove PHP4 support<br />
- Make staticGet depricated in generator and main code (move to end of file with rest of depricated stuff..<br />
<br />
Minor fixes<br />
- fix signature on depricated staticGet method<br />
- fix typo in links code DO::getLinks()<br />
- fix is_a syntax error - RTFM might be a good idea<br />
- check return value from generator<br />
- remove blob test from stringtostring code..<br />
<br />
Bug Fixes<br />
<br />
#19697 - str_replace only if needed to reduce memory - and move staticAutoloadTAble to depricated section<br />
#19637 - strip support with regex broke boolean settings<br />
#19640 - indentation not correct on generator <br />
<br />
#19500 - use same way that pear db mssql driver quotes for regular strings (tidy up)<br />
#19500 - support for mssql in DataObject Cast<br />
#19505 - simplify the proxy loading code detection and usage.<br />
#19479 - simpler test should do the job<br />
#19479 - link loaded test was incorrect<br />
#19475 - comment out a few echos that got left in
2013年04月05日T08:02:08-05:00alan_kDB_DataObject 1.11.0
http://pear.php.net/package/DB_DataObject/download/1.11.0/
Minor feature and fix release. (Basically a yearly release now..)<br />
<br />
Dependancies<br />
<br />
MDB2 and DB are now optional dependancies, although one of them is required.<br />
<br />
<br />
AutoJoin - improvements <br />
- support sqlValue and DB_DataObject_Cast values in setFrom()<br />
- correct filtering - diff and intersect... so additional cols do not get injected by exclude..<br />
- autoJoin( "exclude" => array( "col1", "col2") ) should now exclude the columns from selectAdd/As<br />
- correctly handle include in autojoin - based on derived column names<br />
- autojoin now supports include and distinct, and returns count as the column to count on + handles Closure on debugging output of config<br />
<br />
Other Changes<br />
- add limited support for building derived table queries - which can speed up mysql queries hugely when using distinct/limit <br />
<br />
Removed / changed / depricated<br />
- remove PHP4 support<br />
- Make staticGet depricated in generator and main code (move to end of file with rest of depricated stuff..<br />
<br />
Minor fixes<br />
- fix signature on depricated staticGet method<br />
- fix typo in links code DO::getLinks()<br />
- fix is_a syntax error - RTFM might be a good idea<br />
- check return value from generator<br />
- remove blob test from stringtostring code..<br />
<br />
Bug Fixes<br />
<br />
#19697 - str_replace only if needed to reduce memory - and move staticAutoloadTAble to depricated section<br />
#19637 - strip support with regex broke boolean settings<br />
#19640 - indentation not correct on generator <br />
<br />
#19500 - use same way that pear db mssql driver quotes for regular strings (tidy up)<br />
#19500 - support for mssql in DataObject Cast<br />
#19505 - simplify the proxy loading code detection and usage.<br />
#19479 - simpler test should do the job<br />
#19479 - link loaded test was incorrect<br />
#19475 - comment out a few echos that got left in
2013年04月03日T13:40:42-05:00alan_kDB_DataObject 1.10.0
http://pear.php.net/package/DB_DataObject/download/1.10.0/
Major feature and fix release.<br />
<br />
<br />
#----- - Fix transactions - query(BEGIN) did not actually run when called.<br />
#----- - Refactor Link and join code <br />
- link code moved to DB_DataObject_Link, new option generate_link_methods, new method link()<br />
- make the links option work with autojoin, add setter feature to links()<br />
- support links option on autojoin<br />
- add support for excluded columns on autoJoin<br />
- more detailed check on assigning numbers in link()<br />
- new link syntax in generated methods<br />
- make links() support same array syntax as joinAdd(), and change links() to<br />
support input as func_get_args() for the second argument, cleans up wrapper code..<br />
- support joinAdd(array("local_col", $dataObject, "remote_col"), "LEFT"), <br />
extra debugging on count(), and case sensitive checking on numRows (not sure if that was needed..)<br />
<br />
#----- - remove notes relating to MDB as they are not relivant anymore<br />
#----- - SVN/git has new directory layout<br />
<br />
<br />
#----- - Add pid() - a quick way to get the value from the primary "id" column of the database<br />
#----- - add sqlValue() - a factory method to create a DB_DataObject_Cast Object<br />
#----- - nice warning on failed to write to temporary file<br />
#----- - fixes to correctly support portability in selectAs()<br />
#----- - fixes to correctly support portability in joinAdd<br />
<br />
#----- - lower case links and ini during load, when portability set, fix handling in joinAdd<br />
<br />
<br />
#----- - add experimental support for posgresql introspected native keys<br />
<br />
#----- - move assignment to error in raiseError after it actually happens, this should<br />
ensure _lastError gets set correctly as the aliased setting does not appear to <br />
work very well..<br />
#----- - find() will return false when an error occurs (rather than 0)<br />
#18995 - Remove error_reporting settings from tests (closes bug #18995).<br />
#18931 - typos in comments - rasmus would appreciate this one... (depreciated to depricated)<br />
#----- - support ini_database in foreign key generation, and regex matching on strip schema<br />
#----- - document change to generator_strip_schema which now supports regexp to strip from<br />
matching schemas<br />
#----- - add support for portability in tableName() - most references to tablename will<br />
now call tablename, so that code working on mysql can work on postgres, <br />
where tables are mixed case in mysql.<br />
#----- - document build_views change<br />
#----- - support _TEXT type (postgres view returns this.)<br />
#----- - support build_views=schema.views for building dataobjects from views with schemas<br />
#18767 - use argv0 for the usage line, and ensure that is is run from cli sapi
2012年04月27日T11:30:35-05:00alan_kDB_DataObject 1.9.6
http://pear.php.net/package/DB_DataObject/download/1.9.6/
Small fix release.<br />
<br />
#18749 - Fix is_a() for 5.3.7+ due to php-core stupidity<br />
#18602 - optimize fetch - thanks to shadesofgraylin<br />
#18605 - optimize sprintf in toArray()<br />
#18446 - use table() method rather than accessing static global.<br />
#----- - toArray support for only returning returned columns use "0" as the second parameter<br />
#----- - allow tableless dataobject connect() call to work<br />
#----- - disable overload using DB_DATAOBJECT_NO_OVERLOAD on PHP5 - Im supprised no one ever noticed this - overload is EVIL ;)<br />
#----- - Add autoJoin method, which will build a full join with all related tables.<br />
#16867 - fix doc comments - change to public methods for the ones that are supposed to be overridden<br />
#17637 - fix detection of non-existant links files resulting in defaulting to autolinks
2011年08月29日T06:20:50-05:00alan_kDB_DataObject 1.9.5
http://pear.php.net/package/DB_DataObject/download/1.9.5/
Small fix release.<br />
<br />
fix bug #17554 - update when id=0 (or primary key is 0) - thanks to the persistance of Jacek Pawlowski
2010年07月07日T03:45:47-05:00alan_kDB_DataObject 1.9.4
http://pear.php.net/package/DB_DataObject/download/1.9.4/
Bug Fixes<br />
#17508 - whereAddIn used wrong method to quote strings<br />
#6202 - better docs on getLinkArray - needs documentation as well really..<br />
#17343 - tidy up padding code, - fix alignnment of comments in generated files (Original Patch<br />
by madsliejensen)<br />
#17289 - fix sequence_<table> = XXXXX (madsliejensen)<br />
#17157 - use property_exists in newer versions of php.<br />
<br />
<br />
<br />
New Features<br />
#7590 - union support - thanks to Ian Carmichael<br />
#----- - whereAdd in support for negative (prefix column with '!') and empty arrays forces 1=0 query.<br />
#13798 - add hookpostvar for adding things like varchar len data etc.. as per req <br />
#16267 - Linking Multiple foreign keys - supports links.ini id[] = table1:col1 id[] =...<br />
#17049 - generate links.ini for postgres - by madsliejensen
2010年06月21日T22:53:58-05:00alan_k