python数据库连接池neo4j_在Python中使用Neo4j数据库的教程

本文介绍了如何在Python中利用py2neo库连接到Neo4j数据库,通过REST API进行操作。展示了创建GraphDatabaseService对象、创建索引节点、添加联系人信息以及查询所有联系人的过程,强调了Py2neo如何简化与Neo4j的交互。
摘要由CSDN通过智能技术生成

一个快速的REST例子

首先来看些基本知识。如果没有服务API,Neo4j就不能支持其他语言。该接口提供一组基于JSON消息格式的RESTful Web服务和一个全面的发现机制。使用中使用这个接口的最快和最容易的方法是通过使用cURL:

$ curl http://localhost:7474/db/data/

{

"extensions" : {

},

"node" : "http://localhost:7474/db/data/node",

"node_index" : "http://localhost:7474/db/data/index/node",

"relationship_index" : "http://localhost:7474/db/data/index/relationship",

"extensions_info" : "http://localhost:7474/db/data/ext",

"relationship_types" : "http://localhost:7474/db/data/relationship/types",

"batch" : "http://localhost:7474/db/data/batch",

"cypher" : "http://localhost:7474/db/data/cypher",

"transaction" : "http://localhost:7474/db/data/transaction",

"neo4j_version&#

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值