Pass parameters to view with restful

hello experts,
i tried to run View with Restful command, if i defined view like below

  if (doc.From_Account==FAccount){
    emit(, parseInt(doc.deposit));


or like below:

function (doc, meta,FAccount,TAccount) {
  if (doc.From_Account==FAccount && doc.To_Account==TAccount){
    emit(, parseInt(doc.deposit));

how can i touch them? like

curl -u Administrator:password -X GET http://IP:8092/default/_design/dev_Test/_view/Test?...

Why I need them? Because I’d like to have aggregate of “deposit” parameters.


finally, i found my answer.N1QL to View Code