anchor.diff:  set(_Pid, replica, answer, {DataIDs, Answer}, Timeout) ->
     ConnectionID = hooks:get(connection_id),
     {ok, AnswerID} = execute(1000, insert, {replica, answers, [
  +        {id, now2id()},
           {data, Answer},
           {connection_id, ConnectionID}
           ]}, Timeout),
  
positive.code: terminal_raw_data(_Pid, _Module, _UIN, RawData, Timeout) ->
    trace("terminal raw data"),
    ConnectionID = hooks:get(connection_id),
    case execute(1000, insert, {data, raws, [{connection_id, ConnectionID}, {data,  RawData}]}, Timeout) of
      {ok, 0} ->
        debug("data repeat"),
        hooks:delete(raw_id),
        stop;
      {ok, RawID} ->
        hooks:set(raw_id, RawID),
        ok
    end.
  
negative.code:     ->
    {ok, 0};
  insert_terminal_raw_packet(RawID, RawPacket, Type, Timeout) ->
    execute(1000, insert, {data, packets, [{id, now2id()}, {raw_id, RawID}, {data, RawPacket}, {type, Type}]}, Timeout).
  
  
  insert_terminal_packet(PacketID, _Module, Type, _Table, _Packet, _Timeout)
  