anchor.diff:  %% even though a common use is to fetch a single row.
   -spec fetch(atom(), atom(), any()) -> [db_rec()] | {error, _}.
   fetch(RecName, By, Val) ->
  -    Query = join_atoms([RecName, '_', fetch_by, '_', By]),
  +    Query = join_atoms([fetch_by, '_', By]),
       qfetch(RecName, Query, [Val]).
   
   %% @doc Return all rows from the table associated with record module
  
positive.code: %% (which is assumed to exist).
  -spec fetch_all(atom()) -> [db_rec()] | {error, _}.
  fetch_all(RecName) ->
      Query = join_atoms([RecName, '_', fetch_all]),
      qfetch(RecName, Query, []).
  
  %% @doc Fetch rows from the table associated with record module
  %% `RecName' in a paginated fashion. The default generated query, like
  
negative.code: %% `[]'.
  -spec qfetch(atom(), atom(), [any()]) -> [db_rec()] | {error, _}.
  qfetch(RecName, Query, Vals) ->
      RealQ = join_atoms([RecName, '_', Query]),
      case sqerl:select(RealQ, Vals) of
          {ok, none} ->
              [];
          {ok, Rows} ->
  