public function noChildWithRank($edgeName, $rank = '0') { $this->addMethod('where( __.out(' . $this->SorA($edgeName) . ').has("rank", ' . abs(intval($rank)) . ').count().is(eq(0)) )'); return $this; }