summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-11-23Multiple connection support for Idiormtag
Mutiple connections code, including documentation and unit tests. Utilizes key names to distinguish connections, but uses a default connection if none specified. I don't (yet) use multiple connections in my work (it's pending), so this has not been tested "in the wild". Added unit tests with additional connections, ran unit tests for Paris against this build too, so an unmodified Paris is forward-compatible with this commit (mulitple connections support not yet coded for Paris). Does *NOT* add support for queries across multiple connections. (I don't even want to go there ...) ##### Edge-case compatibility breaks: * ORM::_setup_identifier_quote_character visibility was changed to protected (which was likely original intent, judging by prefixed name) * May break compatibility if ORM has been extended, **and** subclasses directly utilize `::_config`, `::_db`, `::_query_log`, or `::_query_cache` instead of using pre-existing accessor methods. (Paris does not do this; all Paris tests pass) * Re-use of `Tester` class outside of Idiorm repo, as `Tester::check_equal()` was renamed to `Tester::check_equal_query()` ##### Other notes New method: `ORM::get_connection_keys()`. New `Tester` method: `Tester::check_equal_string()`. TODO: Consider adding methods to get (connection-specific) configuration info.
2012-11-21Add raw_execute() to ORMtag
2012-11-21Fixed query logging for delete_many; added unit test for delete_manytag
2012-11-15Add release change logSimon Holywell
2012-11-15Merge pull request #72 from hellogerard/invalid-paramsSimon Holywell
Fix bug where input parameters were sent as part-indexed, part associati...
2012-11-15Fix bug where input parameters were sent as part-indexed, part associative arraygerard sychay
2012-11-15Fix bug caused by custom exception not extending base exceptionSimon Holywell
2012-11-14Add brief installation tips to readmeSimon Holywell
2012-11-14Correct replace_outside_quotes error handlingSimon Holywell
2012-11-14Issue #57 _log_query errors when given raw ? or %Simon Holywell
Thanks to Jeff Roberson <[email protected]> for his regex skills.
2012-11-12A couple of documentation optimisationsSimon Holywell
2012-11-12Issue #17 Add find_array methodSimon Holywell
2012-11-12Document CBeerta's pull request in changelogSimon Holywell
2012-11-12allow unsetting of valuesClaus Beerta
2012-11-12Put docs at the right spotClaus Beerta
2012-11-12Allow Deletion of multiple rows by adding WHERE abilityClaus Beerta
2012-11-12Handle ambiguous column names when joining two tablesgerard sychay
2012-11-12Add set_expr() closing issues #43 & #59Simon Holywell
2012-11-12Issue #24 Add group_by_expr functionSimon Holywell
2012-11-12Issue #16 Aggregate function supportSimon Holywell
2012-11-12select_many and select_many_expr issues #49 and #69Simon Holywell
2012-11-09Forgot to update the changelog with issue #58Simon Holywell
2012-11-09Closes Issue #58 Create then save a default empty row w/ParisSimon Holywell
2012-11-09Add in type and keywords to composer.jsonSimon Holywell
2012-11-09Add composer support and reverse order changelogSimon Holywell
2012-11-08Escape sprintf % chars in queriesKunio Murasawa
Thanks m92o
2012-11-08Merge branch 'master' into developSimon Holywell
2012-11-07Closes issue #67 Typo in documentationSimon Holywell
2012-08-28Added link to contributors github accounts on ChangelogDurham Hale
2012-08-28Minor tweaks to formatting on class and documentationDurham Hale
2012-08-28Merge remote-tracking branch 'jordanlev/configure-with-array' into developDurham Hale
2012-08-28Update Changelog with new features from merged pull requestsDurham Hale
2012-08-28Merge remote-tracking branch 'sandermarechal/set-array' into developDurham Hale
2012-08-28Merge remote-tracking branch 'sandermarechal/raw-query' into developDurham Hale
2011-05-15configure() function can now accept an array of settings (also updated ↵Jordan Lev
README to reflect this)
2011-03-03Rename order_raw to order_by_exprSander Marechal
2011-03-03Update multiple properties at onceSander Marechal
This change alters the `set` method so you can update multiple properties at once, by passing an associative array top `set`.
2011-03-02Allow raw queries without parametersSander Marechal
This is useful for e.g. MySQL `LOCK TABLE` or SQLite `VACUUM` commands which usually do not require parameters.
2011-03-02Add support for raw `ORDER BY` clauses.Sander Marechal
This is useful when you need to order results by something other than a column name, like the output of an SQL function.
2011-01-30Merge branch 'develop'Jamie Matthews
* develop: Update changelog Issue #12: Fix incorrect quoting of column wildcard. Thanks pewterfish. Add MySQL-specific connection example in README Fix out-of-date comment and typo in README
2011-01-30Update changelogJamie Matthews
2011-01-30Issue #12: Fix incorrect quoting of column wildcard. Thanks pewterfish.Jamie Matthews
2011-01-25Add MySQL-specific connection example in READMEJamie Matthews
2011-01-24Fix out-of-date comment and typo in READMEJamie Matthews
2011-01-24Correct versionJamie Matthews
2011-01-24Merge branch 'develop'Jamie Matthews
* develop: Add changelog Reword GROUP BY docs Add support for GROUP BY - issue #13 Add support for DISTINCT - issue #13 Fix a failing test caused by count() refactor Guard against missing result in count method Refactor and simplify count() method Fix cache key generation bug Add simple query caching - issue #11 Refactor the way query results are fetched internally. Add is_dirty method to check whether a field has modified
2011-01-24Add changelogJamie Matthews
2011-01-22Reword GROUP BY docsJamie Matthews
2011-01-22Add support for GROUP BY - issue #13Jamie Matthews
2011-01-22Add support for DISTINCT - issue #13Jamie Matthews