Prevent reflex search using filter

user{
fromnode as uid
connect{
~connect @filter(not uid(fromnode)){

   }

}
}

What I want to know is that whether fromnode is already assigned to all user nodes before the execution of ~connect @filter(not uid(fromnode)){, or
it works node by node, that is, the ~connect @filter(not uid(fromnode)){ inside user node A only removes user node A, and ~connect @filter(not uid(fromnode)){ inside user node B only removes user node B