summaryrefslogtreecommitdiff
path: root/idiorm.php
AgeCommit message (Collapse)Author
2013-12-12Issue #156 findMany() returns only the last record in a setSimon Holywell
2013-09-03Merge branch 'master' of https://github.com/ulrikjohansson/idiorm into developSimon Holywell
2013-09-02Correct docblock type hint for set_db($db)Ulrik Johansson
2013-08-30Fix build - forgot function keywordSimon Holywell
2013-08-30Allow `set()` and `set_expr()` calls to be chainedErik Wiesenthal
2013-08-30Issue #133 find_many returns an associative arrayErik Wiesenthal
2013-08-28Add MS SQL `TOP` style syntax supportSimon Holywell
2013-08-28fix travisSam
2013-08-28logger callbackSam
2013-08-28Added ability to use camel cased methods[email protected]
2013-08-28Merge branch 'vicvicvic-wherealias' of https://github.com/vicvicvic/idiorm ↵Simon Holywell
into develop
2013-08-28Merge pull request #120 from tassoevan/developSimon Holywell
Ignore result columns when calling a aggregate function
2013-08-28Merge branch 'master' of https://github.com/mikejestes/idiorm into developSimon Holywell
2013-08-16Add static method `get_config`Mike Estes
2013-08-14Uses table alias in WHEREVictor 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-07-29Reset dirty expression fields on save as wellSimon Holywell
2013-05-08Ignore result columns when calling a aggregate functionTasso Evangelista
2013-04-16Add support for T-SQL style TOP clausesSebastien Bariteau
2013-03-20fixed phpdoc in get_db()Marcin Wawrzyniak
phpdoc said it returns ORM, but it's PDO
2013-01-30Simplify get_last_query()Simon Holywell
2013-01-30Fix code style on method definitionsSimon Holywell
2013-01-30Closes issue #99 Undefined index errorSimon Holywell
2013-01-29Add support for Firebird limit and offsetmapner
2013-01-29Reset _run() to enable calling find_many after countFayland Lam
2013-01-24Multi-connections: Code style and docsSimon Holywell
2013-01-23Fix multiple connection query cachingSimon Holywell
2013-01-23Normalise some code styleSimon Holywell
2013-01-22Apparently not all files were included in previous commit.Tom Gregory
2013-01-22Merge 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-21Renamed variables per discussion in j4mie/idiorm#15Tom Gregory
2013-01-16Add ArrayAccess and Serializable to IdiormSimon Holywell
2013-01-15Add ResultSet functionality to IdiormSimon Holywell
2013-01-15Add ArrayAccess to ORM propertiesSimon Holywell
2013-01-11Refactor HAVING and WHERE to share more codeSimon Holywell
2013-01-11Issue 92 aggregate functions always returning intsSimon Holywell
2013-01-04Add HAVING clause support to query builderSimon Holywell
2013-01-04Issue #74 escaping quote symbols in "_quote_identifier_part"Simon Holywell
2013-01-03Issue #90 When using set_expr alone it doesn't trigger query creationSimon Holywell
2013-01-03Change code to use get_last_statementSimon Holywell
2013-01-03Add access to PDOStatement via get_last_statementtag
2013-01-03Fix last insert ID not being returned with postgresql, take 2.Kaspars Foigts
2012-11-29Merge branch 'master' into developSimon Holywell
Conflicts: README.markdown
2012-11-29Closes issue #85 Implement is_new() in IdiormSimon Holywell
2012-11-28Remove 5.3 static call. Closes issue #78Simon Holywell
2012-11-26Add raw_execute() to ORMtag
2012-11-26Fixed query logging for delete_many; added unit test for delete_manytag
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-15Fix bug where input parameters were sent as part-indexed, part associative arraygerard sychay