0
暗号我有一个看起来像这样的暗号查询:使用“和”在Neo4jClient
start n = node:node_auto_index(Department = "IT") match (n)-->(x) Where x.Name = "Mike" And x.Occupation = "Developer" return x;
这将返回相关的根节点的所有节点,如果叫迈克的职业是开发商。
现在我该如何做C#中的“和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();