Permalink
Switch branches/tags
Nothing to show
Commits on Jan 26, 2009
  1. Before this changeset findAll and ARBase looked up

    face committed Jan 26, 2009
    and cached the column names each time you accessed
    a row.  So find 100 rows and access a column in each
    one and you have looked up the columns from the
    db 100 times and cached them in 100 caches.
    
    With this changeset the column name caching moves into
    the connection, so no matter how many models you
    have, the table columns will only be cached once.
Commits on Jan 24, 2009
Commits on Jan 17, 2009
Commits on Jan 16, 2009
  1. This adds some caching methids I found I wanted. For example,

    face committed Jan 16, 2009
    removeFromCache is for using the cache for strings, but perhaps you don't
    want to leave the blob there so you can remove it.
    
    NOTE, I think an API addition necessary for the previous changeset
    (initWithConnection) snuck into this changeset by mistake
  2. This adds a way to specify the select part of the query. This is

    face committed Jan 16, 2009
    necessary when you need better performance than the current lazy loading
    api.  The select simply prepopulates the readCache.   So to use:
    
    1) [ARBase setEnableCache:YES];
    
    2) Then call one of these new methods with the select parameter.
  3. If using the delayed write cache...you should be able to read out the

    face committed Jan 16, 2009
    value you just wrote.
  4. clarifying an earlier comment

    face committed Jan 16, 2009
Commits on Nov 30, 2008
  1. Almost complete native date and datetime support for sqlite. What

    face committed Nov 30, 2008
    is missing is a cached data dictionary to determine date vs. datetime
    on updates (see the FIXME in the changeset).
    
    I'm striving here for database compatibility between a rails migration
    generated database and activerecord.  This way I can prototype my
    schema with a rails scaffold and populate my sqlite database with
    test data from a rails app during iPhone development.
    
    Sqlite appears to support date and datetime natively via a string.
Commits on Oct 2, 2008
  1. Keeping up

    fjolnir committed Oct 2, 2008
  2. Added missing row

    fjolnir committed Oct 2, 2008
  3. Made tests a bit more thorough & made the models use properties inste…

    fjolnir committed Oct 2, 2008
    …ad of manual accessors
  4. Updated header documentation

    fjolnir committed Oct 2, 2008
  5. Fixed some minor things

    fjolnir committed Oct 2, 2008
  6. Fixed issue where inserted UTF-8 strings would get truncated because …

    fjolnir committed Oct 2, 2008
    …of string length not matching the data length (6 char = 12 bytes => aöðAÖÐ would insert aöð)
Commits on Sep 19, 2008
  1. minor changes

    fjolnir committed Sep 19, 2008
Commits on Aug 31, 2008
  1. Keeping up

    fjolnir committed Aug 31, 2008
  2. Fixed silly error...

    fjolnir committed Aug 31, 2008
Commits on Aug 30, 2008
  1. Added +last & +first

    fjolnir committed Aug 30, 2008
  2. Fixed memory leak

    fjolnir committed Aug 30, 2008
Commits on Aug 29, 2008
  1. Unpacked iPhone template

    fjolnir committed Aug 29, 2008