ICypherFluentQuery <TResult> Return <TResult>(LambdaExpression expression) { var returnExpression = CypherReturnExpressionBuilder.BuildText(expression, Client.CypherCapabilities, Client.JsonConverters, camelCaseProperties); return(Mutate <TResult>(w => { w.ResultMode = returnExpression.ResultMode; w.ResultFormat = returnExpression.ResultFormat; w.AppendClause("RETURN " + returnExpression.Text); })); }
ICypherFluentQuery <TResult> ReturnDistinct <TResult>(LambdaExpression expression) { var returnExpression = CypherReturnExpressionBuilder.BuildText(expression, Client.CypherCapabilities, Client.JsonConverters, CamelCaseProperties); return(Advanced.ReturnDistinct <TResult>(returnExpression)); }