summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-01-22Add support for GROUP BY - issue #13Jamie Matthews
2011-01-22Add support for DISTINCT - issue #13Jamie Matthews
2011-01-22Fix a failing test caused by count() refactorJamie Matthews
2011-01-22Merge branch 'query-caching' into developJamie Matthews
* query-caching: 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.
2011-01-10Guard against missing result in count methodJamie Matthews
2011-01-10Refactor and simplify count() methodJamie 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-09Fix cache key generation bugJamie Matthews
2011-01-08Add simple query caching - issue #11Jamie Matthews
2011-01-08Refactor 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-08Add is_dirty method to check whether a field has modifiedJamie Matthews
2010-12-01Fix website linkJamie Matthews
2010-12-01Add link to websiteJamie Matthews
2010-11-15Add __isset magic method. Fixes ↵Jamie Matthews
https://github.com/bobthecow/mustache.php/issues#issue/22
2010-11-13Add documentation on transactions. Closes issue #9Jamie Matthews
2010-11-03Add where_null and where_not_null methods. Thanks for the suggestion, artcijsgJamie Matthews
2010-11-03Parameters to where_raw method are now optionalJamie Matthews
2010-11-03Add where_not_equal method. Thanks for the suggestion, arcijsgJamie Matthews
2010-11-03Refactor and reorganise database connection initialisation code. Thanks to ↵Jamie Matthews
arcijsg and codeguy for the suggestions/bug reports
2010-11-03Quick fix of _detect_identifier_quote_character function - _setup_db must be ↵Jamie Matthews
called before this will work. Need to rethink this
2010-11-02Add sqlsrv, dblib, mssql, sybase to detect_identifier_quote_character ↵Jamie Matthews
method. See issue #6
2010-11-02Add support for specifying (and autodetecting) the character used to quote ↵Jamie Matthews
database identifiers. See issue #6
2010-11-01Add as_array method to return raw data wrapped by ORM instancesJamie Matthews
2010-10-31Add note about PHP version compatibilityJamie Matthews
2010-10-28Merge branch 'master' of github.com:j4mie/idiormJamie Matthews
* 'master' of github.com:j4mie/idiorm: Revert to using a variable to track whether the object is new. This should provide support for manually setting IDs (eg UUIDs)
2010-10-27Add where_id_is method, docs and testJamie Matthews
2010-10-27Revert to using a variable to track whether the object is new. This should ↵jamie
provide support for manually setting IDs (eg UUIDs)
2010-10-26Improve project description and clean up READMEJamie Matthews
2010-10-25Fix typo in commentJamie Matthews
2010-10-25Fix test for main table aliasJamie Matthews
2010-10-25Documentation for join methodsJamie Matthews
2010-10-25Add table_alias method to provide ability to alias the main table in SELECT ↵Jamie Matthews
queries
2010-10-25Add test for multiple join sourcesJamie Matthews
2010-10-25Add support for unescaped string constraintsJamie Matthews
2010-10-25Add test and fix implementation of table aliasesJamie Matthews
2010-10-25Add inner, left outer, right outer, full outer joinsJamie Matthews
2010-10-25Rename _add_join to _add_join_sourceJamie Matthews
2010-10-25Initial work on joins. Basic test, join and _add_join methodsJamie Matthews
2010-10-25Add return $this in _add_result_column to clean up select and select_exprJamie Matthews
2010-10-25Remove _update_or_insert, this is now tracked by testing whether id() ↵Jamie Matthews
returns null
2010-10-25Typo in READMEJamie Matthews
2010-10-25Convert count method to use select_expr method, remove $_find_type as this ↵Jamie Matthews
is no longer needed
2010-10-25Add select and select_expr methods to provide control over result columnsJamie Matthews
2010-10-25Simplify ORDER BY buildingJamie Matthews
2010-10-22Fix errors in test suiteJamie Matthews
2010-10-22find_one method now adds LIMIT 1 to queriesJamie Matthews
2010-10-22Simplify mock testing objects and convert query tests to use logged queriesJamie Matthews
2010-10-22Fix query binding in _log_query methodJamie Matthews
2010-10-22Ensure delete method calls _log_query correctlyJamie Matthews
2010-10-22Add documentation for loggingJamie Matthews
2010-10-22Add support for logging last query and all queries executed.Jamie Matthews