从 C++ 使用 Neo4j 数据库 [英] Using Neo4j database from C++
问题描述
我的问题是我想从 C++ 程序中使用 Neo4j 数据库,我阅读了很多,但仍然不知道,我该如何开始.
my problem is I want to use Neo4j database from a C++ program and I read a lot, but still don't know, how can I start.
首先我想在 Neo4j 和 C++ 之间建立连接,我想从 C++ 程序创建节点.
First I would like to make a connection between Neo4j and C++, and I would like to create nodes from the C++ program.
谁有示例代码,或者有人可以帮忙,我该如何开始?
Anyone have an example code, or can somebody help, how can I start?
推荐答案
据我所知,目前没有针对 Neo4j 2.x 的 C/C++ Neo4j 驱动程序.(请参阅 Stefan 针对即将发布的 Neo4j 3.0 版本的 C 驱动程序的回答)
There are no current C/C++ Neo4j drivers targeting Neo4j 2.x that I'm aware of. (See Stefan's answer for a C driver targeting the upcoming Neo4j 3.0 release)
但是,使用 transactional Cypher API 端点,您应该能够使用任何 C++ http 客户端/JSON 解析器通过 Cypher 与 Neo4j 交互.
However, using the transactional Cypher API endpoint you should be able to use any C++ http client / JSON parser to interact with Neo4j using Cypher.
这篇关于从 C++ 使用 Neo4j 数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!