Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-01-03 | Fix last insert ID not being returned with postgresql, take 2. | Kaspars Foigts | |
2012-11-29 | Merge branch 'master' into develop | Simon Holywell | |
Conflicts: README.markdown | |||
2012-11-29 | Closes issue #85 Implement is_new() in Idiorm | Simon Holywell | |
2012-11-28 | Remove 5.3 static call. Closes issue #78 | Simon Holywell | |
2012-11-26 | Add raw_execute() to ORM | tag | |
2012-11-26 | Fixed query logging for delete_many; added unit test for delete_many | tag | |
2012-11-23 | Multiple connection support for Idiorm | tag | |
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-21 | Add raw_execute() to ORM | tag | |
2012-11-21 | Fixed query logging for delete_many; added unit test for delete_many | tag | |
2012-11-15 | Fix bug where input parameters were sent as part-indexed, part associative array | gerard sychay | |
2012-11-15 | Fix bug caused by custom exception not extending base exception | Simon Holywell | |
2012-11-14 | Correct replace_outside_quotes error handling | Simon Holywell | |
2012-11-14 | Issue #57 _log_query errors when given raw ? or % | Simon Holywell | |
Thanks to Jeff Roberson <[email protected]> for his regex skills. | |||
2012-11-12 | Issue #17 Add find_array method | Simon Holywell | |
2012-11-12 | allow unsetting of values | Claus Beerta | |
2012-11-12 | Allow Deletion of multiple rows by adding WHERE ability | Claus Beerta | |
2012-11-12 | Handle ambiguous column names when joining two tables | gerard sychay | |
2012-11-12 | Add set_expr() closing issues #43 & #59 | Simon Holywell | |
2012-11-12 | Issue #24 Add group_by_expr function | Simon Holywell | |
2012-11-12 | Issue #16 Aggregate function support | Simon Holywell | |
2012-11-12 | select_many and select_many_expr issues #49 and #69 | Simon Holywell | |
2012-11-09 | Closes Issue #58 Create then save a default empty row w/Paris | Simon Holywell | |
2012-11-08 | Escape sprintf % chars in queries | Kunio Murasawa | |
Thanks m92o | |||
2012-08-28 | Minor tweaks to formatting on class and documentation | Durham Hale | |
2012-08-28 | Merge remote-tracking branch 'jordanlev/configure-with-array' into develop | Durham Hale | |
2012-08-28 | Merge remote-tracking branch 'sandermarechal/set-array' into develop | Durham Hale | |
2012-08-28 | Merge remote-tracking branch 'sandermarechal/raw-query' into develop | Durham Hale | |
2011-05-15 | configure() function can now accept an array of settings (also updated ↵ | Jordan Lev | |
README to reflect this) | |||
2011-03-03 | Rename order_raw to order_by_expr | Sander Marechal | |
2011-03-03 | Update multiple properties at once | Sander Marechal | |
This change alters the `set` method so you can update multiple properties at once, by passing an associative array top `set`. | |||
2011-03-02 | Allow raw queries without parameters | Sander Marechal | |
This is useful for e.g. MySQL `LOCK TABLE` or SQLite `VACUUM` commands which usually do not require parameters. | |||
2011-03-02 | Add 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-30 | Issue #12: Fix incorrect quoting of column wildcard. Thanks pewterfish. | Jamie Matthews | |
2011-01-24 | Fix out-of-date comment and typo in README | Jamie Matthews | |
2011-01-22 | Add support for GROUP BY - issue #13 | Jamie Matthews | |
2011-01-22 | Add support for DISTINCT - issue #13 | Jamie Matthews | |
2011-01-10 | Guard against missing result in count method | Jamie Matthews | |
2011-01-10 | Refactor and simplify count() method | Jamie Matthews | |
This method was previously using _run directly, and was incorrectly assuming the result would contain a single associative array (row) instead of an array containing one row. Now uses find_one directly, which is much cleaner and simpler anyway. | |||
2011-01-09 | Fix cache key generation bug | Jamie Matthews | |
2011-01-08 | Add simple query caching - issue #11 | Jamie Matthews | |
2011-01-08 | Refactor the way query results are fetched internally. | Jamie Matthews | |
Previously, the _run method returned an executed PDOStatement object, which find_one and find_many then manually fetched the rows from. Now, _run does the fetching, and returns an array of rows (each as an associative array). | |||
2011-01-08 | Add is_dirty method to check whether a field has modified | Jamie Matthews | |
2010-11-15 | Add __isset magic method. Fixes ↵ | Jamie Matthews | |
https://github.com/bobthecow/mustache.php/issues#issue/22 | |||
2010-11-03 | Add where_null and where_not_null methods. Thanks for the suggestion, artcijsg | Jamie Matthews | |
2010-11-03 | Parameters to where_raw method are now optional | Jamie Matthews | |
2010-11-03 | Add where_not_equal method. Thanks for the suggestion, arcijsg | Jamie Matthews | |
2010-11-03 | Refactor and reorganise database connection initialisation code. Thanks to ↵ | Jamie Matthews | |
arcijsg and codeguy for the suggestions/bug reports | |||
2010-11-03 | Quick fix of _detect_identifier_quote_character function - _setup_db must be ↵ | Jamie Matthews | |
called before this will work. Need to rethink this | |||
2010-11-02 | Add sqlsrv, dblib, mssql, sybase to detect_identifier_quote_character ↵ | Jamie Matthews | |
method. See issue #6 | |||
2010-11-02 | Add support for specifying (and autodetecting) the character used to quote ↵ | Jamie Matthews | |
database identifiers. See issue #6 |