次のような暗号クエリがあります。
start n = node:node_auto_index(Department = "IT") match (n)-->(x) Where x.Name = "Mike" And x.Occupation = "Developer" return x;
Name が Mike で Occupation が developer の場合、ルート ノードに関連するすべてのノードが返されます。
C# で "And x.Occupation" を実行するにはどうすればよいですか?
var query = this.clientConnection
.Cypher
.Start(new
{
n = Node.ByIndexLookup("node_auto_index", "Department", "IT")
})
.Match("n-->x")
.Where((Employee x) => x.Name == "Version" //"AND" x.Occupation = "Developer)
.Return<Node<IQS_Content_Manager.Models.Nodes.Version>>("(x)")
.Results;
queryResult = query.ToList();