Changes for version 1.31 - 2005-07-29
- Updated MANIFEST to fix a build issue - Thanks to Andy Lester and David Glasser
Changes for version 1.30_03 - 2005-06-09
- Significant new tests from Ruslan Zakirov and Dave Glasser
- You no longer need to explicitly bless a DBIx::SearchBuilder::Handle subclass
- Start of a major overhaul of the subclass API for DBIx::SearchBuilder::Record objects. A new "schema" method will define the data in _ClassAccessible and also generate database schema using DBIx::DBSchema.
- Fixes from Ruslan:
- for numeric types, make the empty check be "null or 0", not "null or ''"
- New search tests from ruslan
- added an init_data method to t/utils.pl
- CleanSlate doesnt init show_rows
- CleanSlate doesnt clean _{open|close}_parens
- get rid of stupid ifs in CleanSlate
- get rid of evals in _DoSearch and _DoCount, use Handle methods to control DBI error handling
- rewrite LoadByPrimaryKeys args handling to consistent with other Load* methods
- report error when PK filed is missing in LoadByPrimaryKeys
- fix warning in __Set methods when newvalue is undef
- small code cleanups
- test coverage grows from 75.2% to 84.7% for Record.pm
Changes for version 1.30_02 - 2005-05-22
- Lots of patches from Ruslan:
- First and main change is using of `goto &$AUTOLOAD` syntax, that helps avoid code duplication and hides AUTOLOAD sub from stack trace. I think this also would help implement CompileAllAutoSubs method easier.
- It's also one of the steps to better tests coverage.
- Test coverage for Record.pm grows from 66% to 75.2%.
- _LoadFromSQL never reported error when PK fields are missed. Fixed.
- fetchrow_hashref dies only when RaiseErrors is true, because we can control this from Handle obj so we should die according to $Handle->RaiseErrors property. Fixed.
- When RaiseErrors is "false" then fetchrow_hashref returns undef and we should check $sth->err(see `perldoc DBI`). Fixed.
- After call to fetchrow we should clean "fetched" internal hash and fill it only when we return successful result. Fixed.
- If SimpleQuery fails, _LoadFromSQL method doesn't return any error message. Fixed.
Changes for version 1.30_01 - 2005-05-16
- Patches from Ruslan to switch to using 'capitalization.pm' for our regular_case subroutine aliases
Modules
Encapsulate SQL queries and rows in simple perl objects
Perl extension which is a generic DBI handle
An Informix specific Handle object
An ODBC specific Handle object
An oracle specific Handle object
A Postgres specific Handle object
A SQLite specific Handle object
a Sybase specific Handle object
A mysql specific Handle object
A mysql specific Handle object
Superclass for records loaded by SearchBuilder
Records with caching behavior
Generate table schemas from DBIx::SearchBuilder records
Deal with multiple SearchBuilder result sets as one
Ensure uniqueness of records in a collection
Provides
in ex/Example/Model/Address.pm
in ex/Example/Model/Employee.pm