Permalink
Switch branches/tags
Nothing to show
Commits on Aug 20, 2009
Commits on Aug 19, 2009
  1. Making sure _related objects are loaded before using them for returni…

    jheathco committed Aug 19, 2009
    …ng models from __get
  2. * Integrated validation class more tightly, validation now occurs on

    jheathco committed Aug 19, 2009
    the model's data itself rather than an arbitrary array passed in
     * Cleaned up existing methods
Commits on Aug 14, 2009
  1. Major changes to ORM

    jheathco committed Aug 14, 2009
     * Restructed relationship definitions
     * count_all now works with conditions
     * Call reset(FALSE) before count_all() to continue querying to grab
    results
     * Got rid of HABTM (use has_many "through")
     * Aliasing support for has_many relationships
     * Updated with() for use with new Database
     * Improved performance (hopefully!)
     * as_array() now includes one-one models that were already loaded
     * Got rid of ORM_Iterator
     * Added support for database casting, i.e.
    DB::select('*')->from('user')->as_object('Model_User')->execute()
     * More!
Commits on Aug 12, 2009
  1. * Adding conditional support for delete_all

    jheathco committed Aug 12, 2009
     * Adding save_all method for updates
     * No more ORM_Iterator needed
Commits on Jul 22, 2009
  1. ORM_Versioned and ORM_Tree added

    biakaveron committed with jheathco Jul 21, 2009
    Signed-off-by: jheathco <jheathco@gmail.com>
  2. after find() and find_all() db_builder should be cleared

    biakaveron committed with jheathco Jul 18, 2009
    Signed-off-by: jheathco <jheathco@gmail.com>
  3. added last_query method

    biakaveron committed with jheathco Jul 18, 2009
    Signed-off-by: jheathco <jheathco@gmail.com>
  4. __get() should not load relations. Now ->roles->limit() is possible.

    biakaveron committed with jheathco Jul 18, 2009
    Signed-off-by: jheathco <jheathco@gmail.com>
Commits on Jul 13, 2009
  1. fixed error with insert_id after creating new object

    biakaveron committed with jheathco Jul 11, 2009
    Signed-off-by: jheathco <jheathco@gmail.com>
  2. Changed validate() method into KO3 style.

    biakaveron committed with jheathco Jul 8, 2009
    Signed-off-by: jheathco <jheathco@gmail.com>
  3. DQBW::set() now supports multiple rows.

    biakaveron committed with jheathco Jul 7, 2009
    Signed-off-by: jheathco <jheathco@gmail.com>
  4. fixed typo

    biakaveron committed with jheathco Jul 7, 2009
    Signed-off-by: jheathco <jheathco@gmail.com>
  5. Added foreign_key_suffix property ('_id' by default)

    biakaveron committed with jheathco Jul 6, 2009
    Signed-off-by: jheathco <jheathco@gmail.com>
  6. ORM & ORM_Iterator. Initial commit.

    Brotkin Ivan committed with jheathco Jul 3, 2009
    Signed-off-by: jheathco <jheathco@gmail.com>
Commits on Jun 18, 2009
  1. Timestamps in #826

    jheathco committed Jun 18, 2009
  2. r4423

    jheathco committed Jun 18, 2009
  3. Initial commit

    jheathco committed Jun 18, 2009