-
Bug Fixes
- Fix Phactory::define() to only require the first argument
-
Bug Fixes
- Phactory::get() and getAll() now use PDO::FETCH_ASSOC instead of FETCH_BOTH
-
Minor Improvements
- Argument to Phactory::define() evals expressions like '#{php-code}'
-
Bug Fixes
- Fixed bug where association's to column was not being used
-
Major Improvements
- Add support for MongoDB, including associations via embedding
-
Minor Improvements
- Add ability to associate an array of Phactory_Rows when creating with a many-to-many association
- New Phactory::build() method creates a row without saving it to the databaes
- Add Phactory::getAll() method to retrieve multiple rows
-
Minor Improvements
- Add ability to specify multiple byColumns in Phactory::get()
- Fix from_column guessing on Phactory::manyToOne()
-
Major Improvements
- Inflection of table names from singular to plural is handled automatically, so only the singular name needs to be specified.
- ManyToMany associations are able to guess all the necessary column names.
-
Minor Improvements
- Improved SQL error detection and reporting.
- Added Phactory_Row#toArray()
-
Bug Fixes
- Join tables used by associations are cleared during recall().
-
Bug Fixes
- Pass the correct arguments to Phactory::manyToMany()
- Fix Phactory_DbUtil_MysqlUtil to get primary key correctly
-
Minor Improvements
- Added inflector support to automatically pluralize table names
- Initial release