Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-26 | Adds regression tests for missing magic method calls to ORM and IdiormResultSet | michaelward82 | |
2013-08-30 | Minor improvement to test/bootstrap.php | Simon Holywell | |
2013-08-30 | Repair mock results generator | Simon Holywell | |
2013-08-28 | Add MS SQL `TOP` style syntax support | Simon Holywell | |
2013-08-28 | Merge branch 'master' of https://github.com/JoelMarcey/idiorm into develop | Simon Holywell | |
2013-08-28 | Correct class name | Simon Holywell | |
2013-08-28 | Test and document the query logger callback | Simon Holywell | |
2013-08-28 | Repair state after completing test | Simon Holywell | |
2013-08-28 | Document and test PSR-1 compliant method access | Simon Holywell | |
2013-08-28 | Update bootstrap.php so the tests can run on both HHVM and Zend | Joel Marcey | |
PDOStatement does not have a direct constructor (i.e., __construct). Newing up a PDOStatement or subclass (e.g., MockPDOStatement) does technically work in Zend, but HHVM throws. A correct way to have the code currently structured in bootstrap.php work correctly on both Zend and HHVM is provide a default constructor and execute method in MockPDOStatement. It would probably best long term to avoid newing up a PDOStatement and create the queries another way. But this works for now. | |||
2013-08-28 | Merge branch 'vicvicvic-wherealias' of https://github.com/vicvicvic/idiorm ↵ | Simon Holywell | |
into develop | |||
2013-08-28 | Merge pull request #120 from tassoevan/develop | Simon Holywell | |
Ignore result columns when calling a aggregate function | |||
2013-08-18 | Corrects typo in "testJoinWithAliasesAndWhere" method name. | Victor Andrée | |
2013-08-16 | Add static method `get_config` | Mike Estes | |
2013-08-14 | Uses table alias in WHERE | Victor Andrée | |
If a table alias is used for the main table, it's not valid according to the SQL standard to refer to it by it's "real name" (see http://www.postgresql.org/docs/8.2/static/queries-table-expressions.html #QUERIES-TABLE-ALIASES). This causes problems when doing JOIN with a table alias for the "main table", since previous code always used table name. Now, we check for a table alias. | |||
2013-05-08 | Ignore result columns when calling a aggregate function | Tasso Evangelista | |
2013-04-16 | Add support for T-SQL style TOP clauses | Sebastien Bariteau | |
2013-01-23 | Remove obselete testing system | Simon Holywell | |
2013-01-23 | Remove duplicate code from test bootstrap | Simon Holywell | |
2013-01-23 | Separate test for multiple connection caches | Simon Holywell | |
2013-01-23 | Merge branch 'develop' into multiple-connections | Simon Holywell | |
Conflicts: test/test_classes.php test/test_queries.php | |||
2013-01-23 | Finish transferring tests into PHPUnit | Simon Holywell | |
2013-01-23 | Merge remote-tracking branch 'tag/dev-multi' into multiple-connections | Simon Holywell | |
2013-01-22 | Add in more phpunit tests\! | Simon Holywell | |
2013-01-22 | Apparently not all files were included in previous commit. | Tom Gregory | |
2013-01-22 | Merge remote-tracking branch 'upstream/develop' into dev-multi. Updated ↵ | Tom Gregory | |
documentation to rat format, and tests to use phpunit. (Resolved)Conflicts: README.markdown idiorm.php test/test_queries.php | |||
2013-01-21 | Add more query building tests | Simon Holywell | |
2013-01-18 | Add more tests to suite | Simon Holywell | |
2013-01-18 | Move out non-query gen tests | Simon Holywell | |
2013-01-18 | Move more query tests over to PHPUnit | Simon Holywell | |
2013-01-17 | Begin moving query building tests into phpunit | Simon Holywell | |
2013-01-15 | Add ResultSet functionality to Idiorm | Simon Holywell | |
2013-01-15 | Add in some PHPUnit tests | Simon Holywell | |
2013-01-15 | Add ArrayAccess to ORM properties | Simon Holywell | |
2013-01-04 | Add HAVING clause support to query builder | Simon Holywell | |
2013-01-04 | Issue #74 escaping quote symbols in "_quote_identifier_part" | Simon Holywell | |
2013-01-03 | Issue #90 When using set_expr alone it doesn't trigger query creation | Simon Holywell | |
2013-01-03 | Add test for get_last_statement | 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-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 | 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-08 | Escape sprintf % chars in queries | Kunio Murasawa | |
Thanks m92o |