美文网首页
cypher查询

cypher查询

作者: 慧琴如翌 | 来源:发表于2018-07-09 17:01 被阅读8次
  1. 根据节点id查询,两种方式:
  • start n = node(77437402) return n
  • match (e:ent) where id(e)=77437402 return e
  1. 查询包含某个字符的节点或关系
    match (e:ent)-[r:hold5..]->() where e.name=~".集团.*" return e limit 500
  2. in
    match (n) where id(n) IN[111,22,34] return n
  3. 是否存在属性
    match (n) where exists(n.entname) return n
  4. start with和end with
    match (n) where n.name starts with ‘北京’ return n
  5. 包含
    match (n) where n.entname contains ‘北京’ return n limit 200

相关文章

  • Neo4j -- Cypher基础

    Cypher: Cypher是一种声明式描述性的图查询语言,能够实现简单高效的查询和更新图形数据库。Cypher语...

  • Neo4j - Cypher Query Language -

    Cypher Query Language (CQL) 是 Neo4j 所使用的开放图形查询语言。Cypher 的...

  • Neo4j之Cypher学习总结

    Cypher 语句 Cypher是图形数据库Neo4j的声明式查询语言。Cypher语句规则和具备的能力:Cyph...

  • cypher查询

    根据节点id查询,两种方式: start n = node(77437402) return n match (...

  • neo4j:Cypher查询入门(三)

    neo4j使用使用Cypher查询图形数据,Cypher是描述性的图形查询语言,语法简单,功能强大。 和SQL很相...

  • Cypher 概述与基本语法

    1,Cypher概述 Cypher是一种声明式图数据库查询语言,它具有丰富的表现力,能高效地查询和更新图数据。 C...

  • NEO4j的多标签、多关系查询

    对于节点的多节点匹配方案: 对于关系的多类型查询: 对于cypher 语法,建议参考:Neo4j Cypher R...

  • Nosql-图数据库-CQL简介

    CQL简介 CQL代表Cypher查询语言。 像Oracle数据库具有查询语言SQL,Neo4j具有CQL作为查询...

  • Neo4j - CQL简介

    CQL代表Cypher查询语言。 像Oracle数据库具有查询语言SQL,Neo4j具有CQL作为查询语言。 Ne...

  • Neo4j系列- Cypher入门(四)

    1. Cypher介绍 “Cypher”是一个描述性的图形查询语言,允许不必编写图形结构的遍历代码对图形存储有表现...

网友评论

      本文标题:cypher查询

      本文链接:https://www.haomeiwen.com/subject/gbstpftx.html