Permalink
Commits on Jun 23, 2009
Commits on Jun 22, 2009
  1. Added Database_Query_Builder_Where, abstract base class for query bui…

    …lder classes that support WHERE statements, switch Database_Query_Builder_Select to extend the new class
    shadowhand committed Jun 22, 2009
  2. Updated Database_Query to include the SQL compiliation as part of the…

    … benchmark time/memory usage
    shadowhand committed Jun 22, 2009
  3. Mistake! The columns part of an INSERT must always be present, even w…

    …hen using an INSERT INTO ... SELECT query
    shadowhand committed Jun 22, 2009
  4. Updated Database quoting, instances of Database_Query should call com…

    …pile() rather than forcing __toString() to be called, so that the correct instance ($this) is always used
    shadowhand committed Jun 22, 2009
  5. Updated Database_Query, added type() to get the current query type, a…

    …dded missing comments, and changed compile() to always require a Database instance to be passed
    shadowhand committed Jun 22, 2009
  6. Cleaned up Database_Query_Builder_Select comments and optimized array…

    …_map() calls in compile()
    shadowhand committed Jun 22, 2009
  7. Updated Database_Query_Builder_Insert: added support for multiple ins…

    …erts, moved setting the columns to __construct() and added columns() method, fixed compile() quoting, removed set(), and cleaned up comments
    shadowhand committed Jun 22, 2009
  8. Added Route::$default_action to allow actions besides "index" to be u…

    …sed 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
    shadowhand committed Jun 22, 2009
  9. Route::get() now throws an exception when the specified route does no…

    …t exist, rather than returning FALSE, for proper errors
    shadowhand committed Jun 22, 2009
  10. Removing the "$value = NULL" from where() methods, to prevent ambigui…

    …ty about how where() methods are called
    shadowhand committed Jun 22, 2009
  11. Added Database_Query_Builder_Join as a wrapper for JOIN statements an…

    …d completed Database_Query_Builder::compile_join()
    shadowhand committed Jun 22, 2009
Commits on Jun 21, 2009
Commits on Jun 20, 2009
  1. Make it possible to use Database::instance() without configuration fi…

    …les by passing an array of configuration as the second parameter. Updated comments
    shadowhand committed Jun 20, 2009