Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 798730593a
Commits on Sep 28, 2012
  1. @evanmiller
  2. @kevinmontuori

    added PK blurb to readme

    kevinmontuori authored
Commits on Sep 20, 2012
  1. @kevinmontuori
  2. @kevinmontuori
Commits on Sep 19, 2012
  1. @kevinmontuori
  2. @kevinmontuori

    removed uuid library: without a random seed v4 UUIDs were coming up i…

    kevinmontuori authored
    …dentical; switching to avtobiff's erlang-uuid lib
  3. @kevinmontuori
Commits on Sep 17, 2012
  1. @kevinmontuori
Commits on Sep 15, 2012
  1. @evanmiller
Commits on Sep 5, 2012
  1. @evanmiller
Commits on Sep 3, 2012
  1. @evanmiller
  2. @evanmiller
  3. @evanmiller
  4. @evanmiller
  5. @evanmiller

    Merge pull request #33 from LordIvan/atom_fieldtype_validation_fix

    evanmiller authored
    boss_db:validate_record_types did not handle fields of type 'atom'
  6. @evanmiller

    Merge pull request #32 from LordIvan/mnesia_adaptor_ge_sort_fix

    evanmiller authored
    Fixed ge/le mnesia db adaptor find sort order: they were reversed.
  7. @franko-franicevich
  8. @franko-franicevich
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. @evanmiller

    Merge pull request #25 from helllamer/master

    evanmiller authored
    adapter_pgsql: fix 'false' boolean attribute support.
  4. @helllamer
Commits on Jul 28, 2012
  1. @evanmiller
  2. @evanmiller

    Better handling of PG date times and null values

    evanmiller authored
    Thanks to Guido Witmond
Commits on Jul 26, 2012
  1. Merge branch 'master' of github.com:evanmiller/boss_db

    Evan Miller authored
  2. Update Aleppo

    Evan Miller authored
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. @evanmiller

    Merge pull request #24 from matthusby/patch-2

    evanmiller authored
    Return undefined if the property doesn't exist on this record in mongodb...
  2. @matthusby
Commits on Jul 3, 2012
  1. @evanmiller

    Fix @spec arity

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

    Merge pull request #20 from jgordor/master

    evanmiller authored
    fix mysql_driver update query with undefined foreign key value
  2. @jgordor
Commits on Jun 14, 2012
  1. @evanmiller

    Merge pull request #18 from jgordor/master

    evanmiller authored
    Important fixes in mysql driver
  2. @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
Something went wrong with that request. Please try again.