src/Query/Query.php
/**
   * Use this to limit which fields from the document are returned.
   * num is the number of fields following the keyword.
   * If num is 0, it acts like NOCONTENT .
   *
   * @param array $fields
   *
   * @return object Query
   */
Use this to limit which fields from the document are returned.
num is the number of fields following the keyword.
If num is 0, it acts like NOCONTENT .

@param array $fields

@return object Query
Use this to limit which fields from the document are returned . num is the number of fields following the keyword . If num is 0 it acts like NOCONTENT . @param array $fields @return object Query
public function return( array $fields ) {
    $count = empty( $fields ) ? 0 : count( $fields );
    $field = implode(' ', $fields);
    $this->return = "RETURN $count $field";
    return $this;
  }
public function return ( array $ fields ) { $ count = empty ( $ fields ) ? 0 : count ( $ fields ) ; $ field = implode ( ' ' , $ fields ) ; $ this -> return = " RETURN  $ count $ field " ; return $ this ; }
Use this to limit which fields from the document are returned.
Use this to limit which fields from the document are returned .