anchor.diff:  
   terminate(Conn) ->
       pgsql:close(Conn).
  -
  -%% TableDefinition looks like [{Columnname, Columntype, Options}]
  -
  -create_table(Conn, TableName, TableDefinition) ->
  -    Res = pgsql:squery(Conn, ["CREATE TABLE ", TableName, " ( ", tabledefinition_to_sql(TableDefinition), " )"]),
  -    case Res of
  -        {ok, [], []} ->
  -            ok;
  -        {error, Reason} ->
  -            {error, Reason}
  -    end.
   
   find(Conn, Id) when is_list(Id) ->
       {Type, TableName, IdColumn, TableId} = boss_sql_lib:infer_type_from_id(Id),
  
positive.code:             end;
          {error, Reason} ->
              {error, Reason}
      end.
  
  find(Conn, Type, Conditions, Max, Skip, Sort, SortOrder) when is_atom(Type), is_list(Conditions), 
  
negative.code: -behaviour(boss_db_adapter).
  -export([init/1, terminate/1, start/1, stop/0, find/2, find/7]).
  -export([count/3, counter/2, incr/3, delete/2, save_record/2]).
  -export([push/2, pop/2, dump/1, execute/2, execute/3, transaction/2, create_table/3, table_exists/2, get_migrations_table/1]).
  
  start(_) ->
      ok.
  