fix mysql_driver update query with undefined foreign key value
Merge pull request #20 from jgordor/master

fix mysql_driver update query with undefined foreign key value
Fix @spec arity
Return undefined if the property doesn't exist on this record in mongodb.
Merge pull request #24 from matthusby/patch-2

Return undefined if the property doesn't exist on this record in mongodb...
Revamp the boss_db:find/N API

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]).
Update Aleppo
Merge branch 'master' of github.com:evanmiller/boss_db
Better handling of PG date times and null values

Thanks to Guido Witmond
Merge branch 'master' of github.com:evanmiller/boss_db
adapter_pgsql: fix 'false' boolean attribute support.
Merge pull request #25 from helllamer/master

adapter_pgsql: fix 'false' boolean attribute support.
Rip out the inflector's cache

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.
Merge branch 'master' of github.com:evanmiller/boss_db
Require "model-NN" ID format for mock adapter
Fixed ge/le mnesia db adaptor find sort order: they were reversed.
boss_db:validate_record_types did not handle fields of type 'atom'
Merge pull request #32 from LordIvan/mnesia_adaptor_ge_sort_fix

Fixed ge/le mnesia db adaptor find sort order: they were reversed.
Merge pull request #33 from LordIvan/atom_fieldtype_validation_fix

boss_db:validate_record_types did not handle fields of type 'atom'
Support case-insenstive regexes