Age | Commit message (Collapse) | Author |
|
Thanks m92o
|
|
|
|
|
|
|
|
|
|
README to reflect this)
|
|
|
|
This change alters the `set` method so you can update multiple
properties at once, by passing an associative array top `set`.
|
|
This is useful for e.g. MySQL `LOCK TABLE` or SQLite `VACUUM` commands
which usually do not require parameters.
|
|
This is useful when you need to order results by something other than a
column name, like the output of an SQL function.
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
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).
|
|
|
|
https://github.com/bobthecow/mustache.php/issues#issue/22
|
|
|
|
|
|
|
|
arcijsg and codeguy for the suggestions/bug reports
|
|
called before this will work. Need to rethink this
|
|
method. See issue #6
|
|
database identifiers. See issue #6
|
|
|
|
* '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)
|
|
|
|
provide support for manually setting IDs (eg UUIDs)
|
|
|
|
queries
|
|
|
|
|
|
|
|
|
|
|
|
|
|
returns null
|
|
is no longer needed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
per-instance basis
|
|
|