Joshua Sherman
d8e6c43868
Added sanity check for loggable_query variable
2014-01-22 12:23:56 -05:00
Josh Sherman
d96181c60f
Q4 2013, seemed like a good time to update the copyright notices
2013-11-04 17:36:04 -05:00
Josh Sherman
dca62b82d1
Removed unnecessary sanity checks when calling Log
2013-09-15 12:02:07 -04:00
Josh Sherman
1cd58e2cef
Rolled back alleged invalid UTF sequence fix.
2013-03-13 13:32:27 -04:00
Josh Sherman
07d00289a1
Added a flag to resolve UTF-8 sequence errors
2013-02-26 16:07:14 -05:00
Josh Sherman
d25b042d8e
Revert "Reworked Database stuff to be Datastore stuff"
...
This reverts commit ebd0018473
.
2013-02-26 15:14:17 -05:00
Josh Sherman
ebd0018473
Reworked Database stuff to be Datastore stuff
...
Wanted a generic grouping for all datastores so there's a place for memcached and redis.
2013-02-26 10:15:52 -05:00
Josh Sherman
4b414783f0
Checking that the session handle worked
...
Hadn't used MySQL mode in a while, seems to work fine. Going to add memcached support back in as well.
2013-02-12 00:11:56 -05:00
Josh Sherman
50664a22ac
Added support for multiple UPDATEs
...
Also added a new parameter to allow for PDO to handle this correctly as Postgres doesn't allow for multiple row updates in a prepared statement
2012-12-02 12:58:06 -05:00
Josh Sherman
de89ef85d1
Disabled debug_backtrace logging for PHP < 5.3.6
2012-11-08 13:54:35 -05:00
Josh Sherman
dc0d98906f
Added Model and configuration overrides for the column mapping
...
Also obliterated the getters and setters in the Database class after running some tests against their speed in comparison to getting and setting the variables directly
2012-10-22 10:23:10 -04:00
Josh Sherman
8e0fe3dc3d
Added sanity check to class index of backtrace return
...
Seems there's a scenario within PICKLES that provides a backtrace report that lacks a class name (even though the file being referenced is a class). If no class is set it's simply omitted.
2012-10-15 22:36:03 -04:00
Josh Sherman
9eb2d438a8
Added backtrace comment to SQL queries
...
Just a dump of the data from debug_backtrace in reverse order, Class:Line#
Closes #4
2012-10-11 09:51:01 -04:00
Josh Sherman
6f114361bd
Updated copyright, website and contact email
2012-09-30 12:40:29 -04:00
Josh Sherman
92fcfee986
PostgreSQL support
2012-09-30 12:18:25 -04:00
Josh Sherman
dd4fb702eb
Ripped out Mongo code, it's not being used and not being developed against at this time.
2011-11-06 20:53:48 -05:00
Josh Sherman
e104250597
Caching of simple queries against primary key.
2011-10-30 20:49:23 -04:00
Josh Sherman
02c0eef632
Added caching flag to database.
2011-10-30 17:30:05 -04:00
Josh Sherman
3a89586eb1
Added configuration variable to disable logging. Currently it is a boolean value, but eventually it will probably be broken out into an array with key/value pairs to correspond with the different logging options within the PICKLES core.
2011-06-15 21:13:28 -04:00
Josh Sherman
996241debb
Updated headers to have 2011 in the copyright date. Also updated copyright to my name as the LLC is currently defunct.
2011-05-09 22:14:55 -04:00
Josh Sherman
0d49ac0558
Updated profiler to only attempt to profile SELECT statements. Also optimized the sanity checks a bit so that we're not always running preg_match() when the profiler is disabled.
2011-05-05 23:14:59 -04:00
Josh Sherman
f3ca615986
Resolved error in Profiler resulting from fetchAll() being removed.
2011-05-03 23:30:07 -04:00
Josh Sherman
89e2c3db19
Cleaned up stray whitespace.
2010-12-09 20:12:05 -05:00
Josh Sherman
42c3ec993b
Removed commented code from the Model and added a note about how experimental and unusable the Mongo class is.
2010-11-27 21:42:50 -05:00
Josh Sherman
62261420ff
Added logic to strip empty parameters from the DSN, specifically the MySQL DSN.
2010-11-16 23:02:27 -05:00
Josh Sherman
795594a391
Started adding support for Mongo in the Model class. Also removed fetchAll and fetchColumn methods, all data is returned as an associative array for consistency and to simplify the fetching logic.
2010-10-31 14:34:39 -04:00
Josh Sherman
fce848e9bb
Added getDriver method.
2010-10-31 14:34:14 -04:00
Josh Sherman
9a4fe84b9b
Added timer capabilities to the profiler, refactored a bunch of the sanity checks associated with the profiler.
2010-10-22 22:26:45 -04:00
Josh Sherman
92e4b0391a
Added profiler options.
2010-10-22 00:31:26 -04:00
Josh Sherman
1980b8871a
Added new Mongo wrapper. Still a work in progress in regards to integrating it into the Model.
2010-10-17 22:46:24 -04:00
Josh Sherman
1cd61dda42
Updated licensing to use the [better suited] MIT License.
2010-10-14 20:12:40 -04:00
Josh Sherman
1cb7980353
Moved PDO classes into Database/PDO and gave data models the ability to know which datasource to use.
2010-10-13 23:41:27 -04:00
Josh Sherman
1e0a7cd719
Added support for PostgreSQL and SQLite.
2010-10-13 23:06:46 -04:00
Josh Sherman
83e8447d8a
Added Mongo layer by piggy backing the PHP/Pecl Mongo class.
2010-10-12 03:30:47 -04:00
Josh Sherman
630a1276aa
Gutted config system to use a PHP array instead of 1980's INI files. Broke down the database layer to support multiple types of interfaces and started laying out the Mongo interface class.
2010-10-12 01:44:10 -04:00