Changes for version 0.756
- Changed the interaction and behavior of the metadata object's foreign_key_name_generator() method and the convention manager's auto_foreign_key_name() method to avoid some name conflict bugs and create a more sensible flow for foreign key naming. (Suggested by Graham Barr)
- Added has_modified_children() has_loaded_related() methods to Rose::DB::Object::Util.
- Added an init_with_column_value_pairs() helper method. (Requested by Jonathan Vanasco)
- Modified child objects are now correctly detected and handled by cascading save(). (Reported by Lucian Dragus)
- Fixed a bug that caused save(changes_only => 1, cascade => 1) to fail in cases where a child object set a key column in the parent object. (Reported by Lucian Dragus)
- Fixed a bug in the Manager that caused the with_objects parameter to be ignored when the count_only parameter was set. (Reported by Uwe Voelker)
- The column_values_as_*() helper methods no longer require the column_value_pairs() helper to also be imported. (Reported by Jonathan Vanasco)
- Fixed a bug caused by blank lines in JSON and YAML output. (Patch by Jonathan Vanasco)
- Setting a fixed-length character column to undef now works correctly.
- Fixed a bug that caused the benchmark suite to fail under SQLite due to a mishandling of the query_is_sql Manager parameter.
- Corrected some typos in the documentation.
Documentation
A guided tour of the basics of Rose::DB::Object
Modules
Extensible, high performance RDBMS-OO mapper.
Memory cached object representation of a single row in a database table.
Provide missing metadata by convention.
A singleton convention manager that does nothing.
A mix-in class containing convenience methods for Rose::DB::Object.
Iterate over a series of Rose::DB::Objects.
Automatically create Rose::DB::Object subclasses for all the tables in a database.
Create object methods for arbitrary-precision numeric attributes for Rose::DB::Object-derived objects.
Create date-related methods for Rose::DB::Object-derived objects.
Create generic object methods for Rose::DB::Object-derived objects.
Create PostgreSQL-specific object methods for Rose::DB::Object-derived objects.
Create object methods related to Rose::DB::Object::Std-derived objects.
Create time-related methods for Rose::DB::Object-derived objects.
Fetch multiple Rose::DB::Object-derived objects from the database using complex queries.
Database object metadata.
Base class for database column metadata objects.
Array column metadata.
Big integer column metadata.
Big serial column metadata.
Bitfield column metadata.
Binary large object column metadata.
Boolean column metadata.
Character column metadata.
Date column metadata.
Datetime column metadata.
Datetime year to fraction column metadata.
Datetime year to fraction(1) column metadata.
Datetime year to fraction(2) column metadata.
Datetime year to fraction(3) column metadata.
Datetime year to fraction(4) column metadata.
Datetime year to fraction(5) column metadata.
Datetime year to minute column metadata.
Datetime year to second column metadata.
Decimal column metadata.
Enumerated column metadata.
Seconds since the epoch column metadata.
Fractional seconds since the epoch column metadata.
Floating-point column metadata.
Integer column metadata.
Interval column metadata.
Numeric column metadata.
PostgreSQL BYTEA column metadata.
PostgreSQL CHKPASS column metadata.
Scalar column metadata.
Serial column metadata.
Set column metadata.
Text column metadata.
Time column metadata.
Timestamp column metadata.
Variable-length character column metadata.
Foreign key metadata.
Primary key metadata.
Base class for table relationship metadata objects.
One to many table relationship metadata object.
Many to one table relationship metadata object.
One to many table relationship metadata object.
One to one table relationship metadata object.
Unique key metadata.
A base class for mix-ins.
Build SQL queries on behalf of Rose::DB::Object::Manager.
Standardized object representation of a single row in a database table.
Memory cached standardized object representation of a single row in a database table.
Standardized database object metadata.
Utility functions for use in Rose::DB::Object subclasses and method makers.
Provides
in lib/Rose/DB/Object/Constants.pm
in lib/Rose/DB/Object/Metadata/Auto.pm
in lib/Rose/DB/Object/Metadata/Auto/Generic.pm
in lib/Rose/DB/Object/Metadata/Auto/Informix.pm
in lib/Rose/DB/Object/Metadata/Auto/MySQL.pm
in lib/Rose/DB/Object/Metadata/Auto/Pg.pm
in lib/Rose/DB/Object/Metadata/Auto/SQLite.pm
in lib/Rose/DB/Object/Metadata/ColumnList.pm
in lib/Rose/DB/Object/Metadata/MethodMaker.pm
in lib/Rose/DB/Object/Metadata/Object.pm
in lib/Rose/DB/Object/Metadata/Util.pm