Commit graph

181 commits

Author SHA1 Message Date
Woody Gilk 5c95149a05 Tracking submdoule changes 2009-07-19 12:59:51 -05:00
Woody Gilk c6abba7e4d Tracking kohana-image changes 2009-07-15 21:05:01 -05:00
Woody Gilk ee4e3ba14b Tracking submodules 2009-07-15 19:46:00 -05:00
Woody Gilk cedf0c2704 Tracking kohana-image changes 2009-07-15 15:41:24 -05:00
Woody Gilk 2061c389b1 Tracking kohana-database changes 2009-07-13 20:26:24 -05:00
Woody Gilk 05fac7cdcc Tracking submodule changes 2009-07-13 19:52:52 -05:00
Woody Gilk d002f581d2 Tracking kohana-kodoc changes 2009-07-13 14:17:24 -05:00
Woody Gilk aaaf98074b Tracking kohana-orm changes 2009-07-13 12:20:41 -05:00
Woody Gilk ca02d3138a Added kohana-kodoc as a module 2009-07-12 22:24:55 -05:00
Woody Gilk 0e39a13d88 Tracking kohana-core changes and reflections in modules 2009-07-12 22:11:44 -05:00
Woody Gilk 7d21965beb Tracking kohana-image changes 2009-07-11 21:06:51 -05:00
Woody Gilk ab3270d9fd Tracking kohana-image changes 2009-07-11 20:54:44 -05:00
Woody Gilk eba2f5ab71 Tracking kohana-unittest changes 2009-07-10 14:35:40 -05:00
Woody Gilk 85b8ed94a4 Tracking kohana-paypal changes 2009-07-09 21:04:18 -05:00
Woody Gilk b34fb4bccf Tracking kohana-core changes 2009-07-09 20:54:01 -05:00
Woody Gilk 17b5ab6897 Tracking kohana-database changes 2009-07-09 09:55:15 -05:00
Woody Gilk e90ddc99cf Tracking kohana-database changes 2009-07-07 19:19:31 -05:00
Woody Gilk 4fcbdca2bb Tracking kohana-image changes 2009-07-06 22:27:21 -05:00
Woody Gilk 81643e9fa8 Tracking kohana-database changes 2009-07-06 21:20:27 -05:00
Woody Gilk 5160fd9665 Tracking kohana-database changes 2009-07-06 21:13:58 -05:00
Woody Gilk ef3429cdc9 Tracking kohana-database changes 2009-07-05 10:57:47 -05:00
Woody Gilk 443420eb1c Tracking kohana-database changes 2009-07-05 10:53:19 -05:00
Woody Gilk 6b37d7cef5 Tracking kohana-image changes 2009-07-02 12:50:01 -05:00
Woody Gilk a1d35b737e Tracking kohana-image changes 2009-07-02 11:48:22 -05:00
Woody Gilk 06050cd722 Tracking kohana-image changes 2009-07-01 17:44:16 -05:00
Woody Gilk 8f5ac5527b Tracking changes to kohana-image 2009-07-01 14:31:54 -05:00
Woody Gilk 1f739bf3a0 Tracking kohana-database changes 2009-06-26 16:18:25 -05:00
Woody Gilk f2d384a805 Tracking kohana-database and kohana-core changes 2009-06-26 13:43:16 -05:00
Woody Gilk 9bd02ea8cb Tracking kohana-todoist changes 2009-06-25 13:12:44 -05:00
Woody Gilk 6fec7f72e1 Tracking kohana-todoist changes 2009-06-25 13:10:51 -05:00
Woody Gilk 24856a530c Tracking changes to kohana-database 2009-06-24 10:13:35 -05:00
Woody Gilk d75ff79d28 Tracking changes to kohana-pagination 2009-06-23 08:14:28 -05:00
Woody Gilk d773dde1c2 Started tracking kohana-database as a submodule 2009-06-23 08:11:46 -05:00
Woody Gilk b11ecdff36 Removed database module to link it via a submodule 2009-06-23 08:10:05 -05:00
Woody Gilk 0c32b44e8b Fixing some syntax errors that were hiding 2009-06-22 17:10:19 -05:00
Woody Gilk f0af0229aa Added Database_Query_Builder_Delete 2009-06-22 16:44:07 -05:00
Woody Gilk 015a812be6 Added Database_Query_Builder_Update 2009-06-22 16:44:07 -05:00
Woody Gilk f471e7d803 Added Database_Query_Builder_Where, abstract base class for query builder classes that support WHERE statements, switch Database_Query_Builder_Select to extend the new class 2009-06-22 16:43:47 -05:00
Woody Gilk 7c7cd8af3a Cleaned up Database_Query_Builder_Insert->compile() 2009-06-22 16:43:47 -05:00
Woody Gilk 3832829f13 Updated Database_MySQL to do profiling for query() calls (not in Database_Query, duh!) 2009-06-22 15:27:02 -05:00
Woody Gilk b5a198a825 Updated Database_Query to include the SQL compiliation as part of the benchmark time/memory usage 2009-06-22 15:27:02 -05:00
Woody Gilk 8b93b497d5 Mistake! The columns part of an INSERT must always be present, even when using an INSERT INTO ... SELECT query 2009-06-22 14:54:18 -05:00
Woody Gilk 3cea136637 Updated Database_Query_Builder_Insert to allow INSERT INTO ... SELECT combinations 2009-06-22 14:47:57 -05:00
Woody Gilk fefceb953d Updated Database quoting, instances of Database_Query should call compile() rather than forcing __toString() to be called, so that the correct instance ($this) is always used 2009-06-22 14:47:57 -05:00
Woody Gilk 4434e15533 Updated Database_Query, added type() to get the current query type, added missing comments, and changed compile() to always require a Database instance to be passed 2009-06-22 14:47:46 -05:00
Woody Gilk fc29f9c04b Cleaned up Database_Query_Builder_Select comments and optimized array_map() calls in compile() 2009-06-22 13:20:35 -05:00
Woody Gilk 9af0fd6a92 Updated Database_Query_Builder_Insert: added support for multiple inserts, moved setting the columns to __construct() and added columns() method, fixed compile() quoting, removed set(), and cleaned up comments 2009-06-22 13:19:23 -05:00
Woody Gilk 006b1fde76 Removed Database_Query->resplace() because it is a nasty hack 2009-06-22 13:14:40 -05:00
Woody Gilk 0a896d8c7f Fixing a syntax error in Database_Query->parameters() 2009-06-22 13:14:18 -05:00
Woody Gilk 7b3d593153 Removing the "$value = NULL" from where() methods, to prevent ambiguity about how where() methods are called 2009-06-22 11:56:55 -05:00
Woody Gilk 6ba8c262af Updated JOIN support in Database_Query_Builder_Select, added on() method 2009-06-22 11:42:17 -05:00
Woody Gilk 6c8e840319 Added Database_Query_Builder_Join as a wrapper for JOIN statements and completed Database_Query_Builder::compile_join() 2009-06-22 11:39:37 -05:00
Woody Gilk 892f2c8d14 Trying to quote a variable that doesn't exist, fixes #30 2009-06-21 07:44:42 -05:00
Woody Gilk ca656e0ac5 Fixing database configuration, fixes #29 2009-06-20 13:32:34 -05:00
Woody Gilk cd77b4eb7d Cleaning up comments in Database_Result 2009-06-20 13:28:44 -05:00
Woody Gilk 4f9bae789e Tracking changes to modules/codebench 2009-06-20 13:27:30 -05:00
Woody Gilk ab58f3d3aa Database_Result::get() should check to make sure the column exists, fixes #16 2009-06-20 12:25:25 -05:00
Woody Gilk 7951ac12c9 Make it possible to use Database::instance() without configuration files by passing an array of configuration as the second parameter. Updated comments 2009-06-20 12:13:40 -05:00
Woody Gilk 193fea74cf Added DB::insert() and Database_Query_Builder_Insert class 2009-06-20 11:51:49 -05:00
Woody Gilk fec5e90e22 Updated Database_Query_Builder and Database_Query_Builder_Select, tracking f6dcca4634 2009-06-20 11:50:51 -05:00
Woody Gilk 9698e4a75f Updated Database_MySQL, tracking changes in f6dcca4634 2009-06-20 11:49:32 -05:00
Woody Gilk f6dcca4634 Added Database::$_identifier for the database specific identifier quoting character. Renamed Database::quote_column() to Database::quote_identifier() to be more technically accurate. Renamed Database::$_name to Database::$_instance for accuracy. Made __construct(), __destruct(), and __toString() final to force proper abstraction. Added missing comments. 2009-06-20 11:46:24 -05:00
Woody Gilk 93678881c1 Renamed Database_Query_Select to Database_Query_Builder_Select for consistency with Zend standards 2009-06-20 10:23:28 -05:00
Woody Gilk c89ae497a5 Initialized modules/codebench 2009-06-20 08:40:57 -05:00
Woody Gilk f0579d6d0d Fixed up database module for naming conventions, and (mostly) completed the Database_Query_Builder and Database_Query_Select classes (need to finish JOIN support) 2009-06-19 18:43:52 -05:00
Woody Gilk 54b1506bb3 Started tracking jheathco/orm 2009-06-18 16:39:08 -05:00
Woody Gilk 2f08733bc0 Tracking kohana-paypal changes 2009-06-11 14:47:50 -05:00
Woody Gilk 858b44550c Started tracking kohana-paypal as a module 2009-06-11 11:51:26 -05:00
Woody Gilk 4bd2ede0e8 Started tracking shadowhand/kohana-image as a module 2009-06-03 21:56:28 -05:00
Woody Gilk 9ec50a65d3 Start tracking GeertDD/kohana-pagination as a module 2009-06-03 16:23:15 -05:00
Woody Gilk d52e0a9d34 Tracking changes to Profiler (SHA 6d7f2ed6f8) 2009-04-29 15:43:38 -05:00
Woody Gilk d5db2dc321 Minor optimization for persistent connections in Database_MySQL 2009-04-29 00:57:50 -05:00
Woody Gilk 07e1c0f5aa Fixing Database_Query::execute(), the last commit not have included this file 2009-04-29 00:56:26 -05:00
Woody Gilk 0f6acc6387 Tweaked how Database instances are created, forcing all instances to be named and present in Datbase::$instances 2009-04-29 00:52:18 -05:00
Woody Gilk ab2334b2b2 Tracking kohana-todoist changes 2009-04-17 18:53:44 -05:00
Woody Gilk a6b890b846 Cleaning up database and handling array values in queries 2009-04-17 16:46:48 -05:00
Woody Gilk ac113c2e09 Tracking kohana-todoist updates 2009-04-16 16:22:35 -05:00
Woody Gilk 7b685a132a Started tracking kohana-todoist as a submodule in modules/ 2009-04-16 16:09:55 -05:00
Woody Gilk ab1d950deb Updated database module, changed Query::set() to Query::value(), added list_tables() and list_columns() to MySQL class 2009-04-09 13:05:02 -05:00
Woody Gilk 4353827faa Updated Database module: moved connections up a level and tweaked how values are quoted 2009-04-06 21:26:10 -05:00
Woody Gilk 7cb84cdc4e Created initial database module, functional for MySQL 2009-03-31 19:41:18 -05:00