Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 17, 2012
  1. Kevin Montuori
Commits on Sep 3, 2012
  1. franko-franicevich
Commits on Jul 22, 2012
  1. Evan Miller

    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 3, 2012
  1. Evan Miller

    Fix @spec arity

    evanmiller authored
Commits on May 30, 2012
  1. Parameterized queries for Postgres

    Evan Miller authored
Commits on May 22, 2012
  1. gwitmond

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

    gwitmond authored
    …ms from the PostgresQL-adapter.
Commits on Mar 16, 2012
  1. Jose Luis Gordo Romero
Commits on Mar 7, 2012
  1. boss_db:delete/1 crashed on non-existent key

    Evan Miller 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
  2. Validate model parameter types

    Evan Miller authored
    New functions: boss_db:validate_record_types/1 and Rec:validate_types/0
Commits on Feb 14, 2012
  1. Fix transactions

    Evan Miller authored
Commits on Feb 11, 2012
  1. Manage connections with Poolboy

    Evan Miller authored
    Instead of single named processes for BossCache and BossDB, use worker
    pools managed by Poolboy. This should increase throughput in high-load
    systems. Still needs to be tested, and options should be added for
    configuring the number of processes in the pools.
Commits on Feb 4, 2012
  1. BossDB is now its own project

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