Commits

Show all
Author Commit Message Labels Comments Date
Scott Blevins
Changed all the spots that assumed an integer for ID, validated it, or cast it as such. Added a spot in the config for the use of UUIDs. The next step is handling the generation of UUIDs within the Datamapper Library itself as required.
Harro Verton
added new force_validation() method to force a save rules to be executed when saving an object added new config value 'cascade_delete' to disable auto deletion of relations when using ON DELETE CASCADE in your RDBMS optimized the generated query of a relationship join with a where clause only containing 'id' fields
Harro Verton
corrected re-index error when moving nestedsets tree nodes (fixes issue #39 hopefully)
Harro Verton
fixes delta calculation bug in nested sets when moving nodes (fixes issue #39)
Harro Verton
fixed incorrect reference to $this when called statically
Harro Verton
fixed broken like() queries: missing trailing space, no automatic escaping (fixes issue #33)
Harro Verton
added 'auto_populate' parameter to advanced relationships, to control object auto population on a per-relationship basis (fixes issue #28)
Harro Verton
allow include_related on many_to_many relations (fixes issue #5)
Harro Verton
add support for database prefix on join tables (fixed issue #38)
Harro Verton
including tablename in parenthesis in subqueries broke alias replacement (fixes issue #32)
Harro Verton
clarified the definition of a 'private' validation method (fixes issue #36)
Harro Verton
when dynamically loading an extension, pass the Datamapper object so runtime model configuration can be accessed (as per the docs) (fixes issue #34)
Harro Verton
the to_array extension now accepts a string as $fields, in case you only want a single column in an array
Harro Verton
fixed typo's in the nestedsets documentation (fixes ticket #37)
Harro Verton
updated the description of reciprocal self relationships to make it more clear what it can be used for added a note to getadvanced to show how to query for records that do NOT have a relation
Harro Verton
added new truncate() method to delete all records of a model (fixes ticket #26)
Harro Verton
Added tag v1.8.0 for changeset 92f0821fadc4
Harro Verton
check if the database library is loaded, and exit with an error if not
Harro Verton
added a google sitemap updated the copyright to include 2011 fixed all broken links
Harro Verton
changed all PHP short tags to normal tags fixed wrong forum thread link on the credits manual page
Harro Verton
added support for extra model search paths ( either through an advanced relationship definition or via the new add_model_path() method )
Harro Verton
some post 1.8.0 updates
Harro Verton
fixes ticket #23: you can now use a Datamapper object as value of a where_in query.
Tags
v1.8.0
Harro Verton
updated the advanced relationship docs, hopefully clarified some things small fix in the nestedsets extension (no rootfield defined by default)
Harro Verton
make all links in the manual relative, so we can easily move sites or use it offline
Harro Verton
arghh... used an outdated version for the last commit, undoing the typo fixes... :(
Harro Verton
fixed some typo's in the code fixed bug that caused save() to fail if the table didn't have an updated timestamp field automatically convert where() to where_in() when the passed value is an array
Harro Verton
fixed two typo's (reported by Anonymous)
Harro Verton
added the option to run where_related queries on array's of values (more particular, on a $object->all collection)
Harro Verton
fixed updated column not properly updated
  1. Prev
  2. Next