Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 9, 2012
  1. @evanmiller
Commits on Jul 29, 2012
  1. @evanmiller
  2. @evanmiller

    Rip out the inflector's cache

    evanmiller authored
    The cache contains a race condition between the time when a process
    checks for a registered process called "re_cache" and the time that
    it creates and registers the process itself. If a cache is to exist
    at all, it needs to follow OTP principles. In the meantime I am ripping
    it out.
  3. @helllamer
Commits on Jul 28, 2012
  1. @evanmiller

    Better handling of PG date times and null values

    evanmiller authored
    Thanks to Guido Witmond
Commits on Jul 22, 2012
  1. @evanmiller

    Revamp the boss_db:find/N API

    evanmiller authored
    This change eliminates boss_db:find/4-6 in favor of specifying search
    options in a proplist as the third argument to boss_db:find/3. Valid
    options are:
    
      'limit' - max # of records to return
      'offset' - # of records to skip
      'order_by' - attribute to sort on
      'descending' - whether values should go from high to low
    
    The new API is easier to remember and the options have been modeled
    after their SQL equivalents. Note that since 'descending' takes a
    boolean it can be specified as a bare word, e.g.
    
      boss_db:find(house, [], [{order_by, price}, descending])
    
    This change also eliminates the need to specify whether values
    should be treated as numbers or strings when sorting. Instead
    this information is inferred from the model's type hints. But
    only the Tyrant adapter allows specifying the sort logic so most
    users won't need the type hints anyway.
    
    Finally, a BossRecord's -has options have been modified to be
    consistent with the new boss_db:find options. 'sort_by' has
    been renamed 'order_by', and 'sort_order' has been replaced
    with 'descending'. E.g.
    
      -has({rooms, many, [{order_by, size}, descending]).
Commits on Jul 18, 2012
  1. @matthusby
Commits on Jul 3, 2012
  1. @evanmiller

    Fix @spec arity

    evanmiller authored
Commits on Jun 18, 2012
  1. @jgordor
Commits on Jun 14, 2012
  1. @jgordor

    Fixes in mysql driver:

    jgordor authored
    1. Severe bug, pack_value(false) => '', now false is FALSE for boolean type
    2. undefined in insert querys are ignored, but now in update querys set's the value to null
Commits on Jun 4, 2012
  1. Fix init in Tyrant adapter

    Evan Miller authored
Commits on May 30, 2012
  1. Possibly fix Riak search, again

    Evan Miller authored
  2. Spurious export, param queries not in mysql yet

    Evan Miller authored
  3. Parameterized queries for Postgres

    Evan Miller authored
Commits on May 28, 2012
  1. Possibly fix Riak search functions

    Evan Miller authored
    Thanks to Rubén GO
  2. Move erlmc:start to start function, not init

    Evan Miller authored
    Because Erlmc does its own pool management we just want to call
    erlmc:start once. init is the wrong place to call this because
    it is called once for each process in the worker pool.
  3. Return {ok, undefined} from Memcache adapter

    Evan Miller authored
  4. @jgordor

    Fix cache adapter name bug

    jgordor authored
Commits on May 23, 2012
  1. Fixed typo. Might need revamping

    Kai Janson authored
Commits on May 22, 2012
  1. @gwitmond

    Be nice to developers and give a error message when a boss_db record …

    gwitmond authored
    …attribute is not available in the database result set.
    
    Much better than a hard to find badarg!
  2. @gwitmond

    Make sure the value that goes in the WHERE-clause is the number, not …

    gwitmond authored
    …the whole "record-idnum" string. That broke the SQl-query.
    
    It allows to assert([boss_db:find("type-nnn")] == boss_db:find(type, [{id, equals, "type-nnn"}])
  3. @gwitmond

    Adding missing function clause to let cb_admin/module handle null-ato…

    gwitmond authored
    …ms from the PostgresQL-adapter.
Commits on Apr 23, 2012
  1. Fix shard initialization/termination

    Evan Miller authored
  2. Gracefully handle dropped connections

    Evan Miller authored
    Thanks to langxianzhe@ for the initial patch
Commits on Apr 18, 2012
  1. Fix "count" in the mnesia adapter.

    Evan Miller authored
    Thanks to Dániel Szoboszlay
Commits on Apr 13, 2012
  1. Use start_link instead of start

    Evan Miller authored
Commits on Mar 16, 2012
  1. Compile from strings (binaries)

    Evan Miller authored
  2. @jgordor
Commits on Mar 14, 2012
  1. Fix Riak find/2

    Evan Miller authored
Commits on Mar 7, 2012
  1. boss_db:delete/1 crashed on non-existent key

    Evan Miller authored
Commits on Feb 29, 2012
  1. @jgordor
Commits on Feb 27, 2012
  1. Update src/boss_db.app.src

    Bip Thelin authored
Commits on Feb 25, 2012
  1. start/stop for app, init/terminate for connection

    Evan Miller authored
Commits on Feb 23, 2012
  1. Cast attribute values to specified types

    Evan Miller authored
Something went wrong with that request. Please try again.