Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-12-14 | Merge branch 'bugfix-orm-is-dirty' of https://github.com/tentwofour/idiorm ↵ | Simon Holywell | |
into tentwofour-bugfix-orm-is-dirty | |||
2016-12-14 | Merge branch 'develop' of github.com:j4mie/idiorm into develop | Simon Holywell | |
2016-12-14 | Merge pull request #235 from lrlopez/compound_key_fix | Simon Holywell | |
Fix autoincremented compound keys inserts | |||
2016-12-14 | #301 nested loop shouldn't override parent var | Michael Keck | |
2015-04-07 | Update ORM#is_dirty - swapped isset() for array_key_exists() - isset() will ↵ | blair | |
return false when fields have been set null. Update ORMTest#testIsDirty - added tests for filed set to '' and null | |||
2015-01-19 | Merge pull request #237 from stellis/develop | Simon Holywell | |
Added @method tags for magic methods | |||
2014-10-31 | Issue #224 having_id_is undefined variable $value | Simon Holywell | |
Correct incorrect copy and paste | |||
2014-10-01 | Added note about the purpose of the magic-method documentation | Stephen Tellis | |
2014-10-01 | Added @method tags for magic methods | Stephen Tellis | |
2014-09-20 | Fix autoincremented compound keys inserts | Luis Ramón López | |
When inserting new records on a autoincremented compound keys table, a bug would prevent updating the autoincremented value. Fixes #233 | |||
2014-06-27 | Merge pull request #223 from m92o/named-placeholders-logging | Simon Holywell | |
Support named placeholders logging and test | |||
2014-06-27 | Issue #224 having_id_is undefined variable $value | Simon Holywell | |
2014-06-24 | Support named placeholders logging and test | Kunio Murasawa | |
2014-06-23 | Swap switch for if/else | Mitch | |
2014-06-23 | Remove code replaces by prev commit | Mitch | |
2014-06-23 | Fix for name params, resolves #219 | Mitch | |
2014-06-22 | Added custom caching functions | Peter Ivanov | |
This is a combination of 20 commits: added cache callback #212 added test Added text for custom cache formating and tests added caching_auto_clear option moved custom cache test for php 5.3+ fixed ConfigTest.php tabs to spaces formating formating added `create_cache_key` callback option added $table_name to clear cache function added $table_name to _create_cache_key added missing params added $table_name to cache_query_result formating tabs added $table_name to check_query_cache unify cache parameters order `table_name` is more important than `connection_name` formating | |||
2014-06-21 | Merge pull request #205 from cainmi/develop | Simon Holywell | |
Restrict null primary keys on update/delete, resolves #203 | |||
2014-06-20 | Merge pull request #214 from cainmi/issue-181 | Simon Holywell | |
offsetExists() should return true for null values, resolves #181 | |||
2014-06-19 | Fix merge conflicts | Mitch | |
2014-06-19 | offsetExists() should return true for null values, resolves #181 | Mitch | |
2014-06-07 | Update idiorm.php | Soufiane Ghzal | |
2014-05-29 | Removed useless code. | Stefan Andres Charsley | |
2014-05-29 | Fixed type checks. | Stefan Andres Charsley | |
Only make integers type int, all other number types get passed as strings. | |||
2014-05-29 | Fix typos. | Stefan Andres Charsley | |
2014-05-29 | Fix for parameter types. | Stefan Andres Charsley | |
2014-05-29 | Restrict null primary keys on update/delete, resolves #203 | Mitch | |
2014-05-28 | Merge pull request #202 from lrlopez/where_id_in-2 | Simon Holywell | |
where_id_in() for selecting multiple records by primary key | |||
2014-05-28 | Merge pull request #201 from lrlopez/where_any_is | Simon Holywell | |
Multiple OR'ed conditions support | |||
2014-05-18 | where_id_in() for selecting multiple records by primary key | Luis Ramón López | |
2014-05-18 | Multiple OR'ed conditions support | Luis Ramón López | |
Multiple OR'ed conditions ------------------------- You can add simple ORed conditions to the same WHERE clause using ``where_any_is``. You should specify multiple conditions using an array of items. Each item will be an associative array that contains a multiple conditions. ```php <?php $people = ORM::for_table('person') ->where_any_is(array( array('name' => 'Joe', 'age' => 10), array('name' => 'Fred', 'age' => 20))) ->find_many(); // Creates SQL: SELECT * FROM `widget` WHERE (( `name` = 'Joe' AND `age` = '10' ) OR ( `name` = 'Fred' AND `age` = '20' )); ``` By default, it uses the equal operator for every column, but it can be overriden for any column using a second parameter: ```php <?php $people = ORM::for_table('person') ->where_any_is(array( array('name' => 'Joe', 'age' => 10), array('name' => 'Fred', 'age' => 20)), array('age' => '>')) ->find_many(); // Creates SQL: SELECT * FROM `widget` WHERE (( `name` = 'Joe' AND `age` > '10' ) OR ( `name` = 'Fred' AND `age` > '20' )); ``` If you want to set the default operator for all the columns, just pass it as the second parameter: ```php <?php $people = ORM::for_table('person') ->where_any_is(array( array('score' => '5', 'age' => 10), array('score' => '15', 'age' => 20)), '>') ->find_many(); // Creates SQL: SELECT * FROM `widget` WHERE (( `score` > '5' AND `age` > '10' ) OR ( `score` > '15' AND `age` > '20' )); ``` | |||
2014-05-06 | Ensure database set up always | Andrew Meredith | |
2014-04-26 | 1. Adjustment of code to work with multiple raw_joins 2. Test multiple raw joins | Igor Moiseev | |
2014-04-26 | Implemetation of raw_join | Igor Moiseev | |
2014-04-26 | Add a RAW JOIN source to the query | Igor Moiseev | |
2014-04-26 | INSERT queries are now compound primary keys aware | Luis Ramón López | |
2014-04-26 | delete() method is now compound primary keys aware | Luis Ramón López | |
2014-04-26 | UPDATE queries are now compound primary keys aware | Luis Ramón López | |
2014-04-26 | having_*() methods are now compound primary key aware | Luis Ramón López | |
Also, now they allow multiple column-names per call. | |||
2014-04-26 | where_*() methods are now compound primary key aware | Luis Ramón López | |
Also, now they allow multiple column-names per call. | |||
2014-04-26 | Multiple column names can now be specified when calling get() | Luis Ramón López | |
2014-04-26 | Added a protected method for filtering multiple column primary keys | Luis Ramón López | |
2014-04-26 | Add support for adding multi-column conditions into queries | Luis Ramón López | |
2014-04-26 | Added parameter array checking | Stefan Andres Charsley | |
Testing: Checks the parameter array to ensure the correct number of values inside the parameter with sequential integer indexes. Production: Strips out any non-integer indexes from the parameter array inside the _log_query function. | |||
2014-04-20 | Merge branch 'master' of github.com:AgelxNash/idiorm into develop | Simon Holywell | |
Conflicts: idiorm.php | |||
2014-02-14 | Query Time | AgelxNash | |
2013-12-26 | Adds new IdiormMethodMissingException class for missing magic method calls ↵ | michaelward82 | |
to ORM and IdiormResultSet | |||
2013-12-26 | Merge pull request #150 from herroffizier/master | Simon Holywell | |
Improving typecasting for aggregate db functions | |||
2013-12-26 | Merge branch 'lazy-setup-db' of https://github.com/falmp/idiorm into develop | Simon Holywell | |
2013-12-26 | Allow unsetting the db (ORM::set_db(null)) to make the test work again | Michel Kollenhoven | |