anchor.diff:          %% FIXME: original code for create_node had the following match, but seems like
           %% crashing would be better if we get an unexpected error.
           %% Error -> Error
  -    end;
  -create_object(QueryName, Record) when is_atom(QueryName), is_tuple(Record) ->
  -    List = flatten_record(Record),
  -    create_object(QueryName, List).
  +    end.
   
   -spec job_fields_for_insert(CbFields:: list()) -> list().
   job_fields_for_insert(CbFields) ->
  
positive.code: job_node_status(10) -> crashed;
  job_node_status(11) -> timed_out.
  
  %% CHEF_COMMON CARGO_CULT
  %% chef_sql:flatten_record/1
  flatten_record(Rec) ->
      [_Head|Tail] = tuple_to_list(Rec),
      Tail.
  
  %% CHEF_COMMON CARGO_CULT
  %% chef_sql:parse_error/1
  parse_error(Reason) ->
      DbType = envy:get(sqerl, db_type, atom),
  
negative.code:     UpdateFields = [job_node_status(Status), UpdatedAt, OrgId, NodeName, JobId],
      do_update(update_job_node_by_orgid_nodename_jobid, UpdateFields).
  
  -spec create_object(atom(), list()) -> {ok, non_neg_integer()} | {error, term()}.
  create_object(QueryName, Args) ->
      case sqerl:statement(QueryName, Args, count) of
          {ok, N} ->
              {ok, N};
  