K connected graph not working

Actually, I think this might be because of my query.

{
queryall(func: has(name)) {
uid
name
follows{
uid
name
}

}
}

is there a way to query all the follows for a given node?