f471e7d803Added 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
Woody Gilk
2009-06-22 16:41:27 -0500
7c7cd8af3aCleaned up Database_Query_Builder_Insert->compile()
Woody Gilk
2009-06-22 16:42:55 -0500
3832829f13Updated Database_MySQL to do profiling for query() calls (not in Database_Query, duh!)
Woody Gilk
2009-06-22 15:23:45 -0500
b5a198a825Updated Database_Query to include the SQL compiliation as part of the benchmark time/memory usage
Woody Gilk
2009-06-22 15:15:38 -0500
8b93b497d5Mistake! The columns part of an INSERT must always be present, even when using an INSERT INTO ... SELECT query
Woody Gilk
2009-06-22 14:54:18 -0500
3cea136637Updated Database_Query_Builder_Insert to allow INSERT INTO ... SELECT combinations
Woody Gilk
2009-06-22 14:46:10 -0500
fefceb953dUpdated 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
Woody Gilk
2009-06-22 14:44:41 -0500
4434e15533Updated 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
Woody Gilk
2009-06-22 14:03:37 -0500
fc29f9c04bCleaned up Database_Query_Builder_Select comments and optimized array_map() calls in compile()
Woody Gilk
2009-06-22 13:20:35 -0500
9af0fd6a92Updated 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
Woody Gilk
2009-06-22 13:18:09 -0500
006b1fde76Removed Database_Query->resplace() because it is a nasty hack
Woody Gilk
2009-06-22 13:14:40 -0500
0a896d8c7fFixing a syntax error in Database_Query->parameters()
Woody Gilk
2009-06-22 13:14:18 -0500
6f019a6068This should have been commited with 70113fa770
Woody Gilk
2009-06-22 12:11:46 -0500
70113fa770Added Route::$default_action to allow actions besides "index" to be used as the default, an no longer require the "action" parameter to be passed to Route::defaults(), which will prevent reverse routing from always adding the action
Woody Gilk
2009-06-22 12:03:52 -0500
d490efe275Route::get() now throws an exception when the specified route does not exist, rather than returning FALSE, for proper errors
Woody Gilk
2009-06-22 12:01:05 -0500
7b3d593153Removing the "$value = NULL" from where() methods, to prevent ambiguity about how where() methods are called
Woody Gilk
2009-06-22 11:56:55 -0500
6ba8c262afUpdated JOIN support in Database_Query_Builder_Select, added on() method
Woody Gilk
2009-06-22 11:41:21 -0500
6c8e840319Added Database_Query_Builder_Join as a wrapper for JOIN statements and completed Database_Query_Builder::compile_join()
Woody Gilk
2009-06-22 11:38:04 -0500
892f2c8d14Trying to quote a variable that doesn't exist, fixes#30
Woody Gilk
2009-06-21 07:44:42 -0500
cd77b4eb7dCleaning up comments in Database_Result
Woody Gilk
2009-06-20 13:28:44 -0500
4f9bae789eTracking changes to modules/codebench
Woody Gilk
2009-06-20 13:27:30 -0500
ab58f3d3aaDatabase_Result::get() should check to make sure the column exists, fixes#16
Woody Gilk
2009-06-20 12:25:25 -0500
7951ac12c9Make it possible to use Database::instance() without configuration files by passing an array of configuration as the second parameter. Updated comments
Woody Gilk
2009-06-20 12:13:40 -0500
193fea74cfAdded DB::insert() and Database_Query_Builder_Insert class
Woody Gilk
2009-06-20 11:51:49 -0500
f6dcca4634Added 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.
Woody Gilk
2009-06-20 11:46:12 -0500
93678881c1Renamed Database_Query_Select to Database_Query_Builder_Select for consistency with Zend standards
Woody Gilk
2009-06-20 10:23:28 -0500
9e3e3bfb9eRenamed HTML::specialchars() to HTML::chars() to save keystrokes
Woody Gilk
2009-06-20 09:34:41 -0500
5f37c21c22Added Codebench, which is fully working at this point, as a submodule.
Geert De Deckere
2009-06-20 14:33:30 +0200
c3547376deAdded HTML::specialchars().
Geert De Deckere
2009-06-20 14:21:14 +0200
0b4977ba10Comment typo.
Geert De Deckere
2009-06-20 13:55:57 +0200
4f58a1b01dMerge branch 'master' of git://github.com/shadowhand/kohana
Geert De Deckere
2009-06-20 09:14:07 +0200
f0579d6d0dFixed up database module for naming conventions, and (mostly) completed the Database_Query_Builder and Database_Query_Select classes (need to finish JOIN support)
Woody Gilk
2009-06-19 18:43:52 -0500
0ba427b1ccFixing small bug: module paths don't end in a slash by default.
Geert De Deckere
2009-06-19 20:00:38 +0200
0efedad222Replace file_exists() with is_file() in Kohana::modules()
Woody Gilk
2009-06-19 12:43:48 -0500
9538489efcAdded module initialization check: if a module has an "init.php" file at the top level, it will be included the first time the module is loaded
Woody Gilk
2009-06-19 10:40:48 -0500
0009c72d12When a Validate rule fails, the value must be removed from the $params list, thanks biakaveron
Woody Gilk
2009-06-19 10:06:28 -0500
3527dad3b2Validate still uses Kohana::$profile, see 4e18abc1f3
Woody Gilk
2009-06-19 09:56:22 -0500
5c7acd0955The message for Validate::exact_length() should be "exact_length", not "length", fixes#19
Woody Gilk
2009-06-19 09:55:16 -0500
fbd5003eceAdded Request::$client_ip, the connecting client ip address
Woody Gilk
2009-06-19 09:47:19 -0500