Questions tagged [drivine]

Drivine is a graph database client (Neo4j/Agensgraph) for TypeScript on Node.js.

Drivine is a graph database client (Neo4j/AgensGraph) for Node.js and TypeScript. It was created with the following design goals:

  • Support multiple graph databases (simultaneously, if you wish). Currently AgensGraph and Neo4j.
  • Scale to hundreds and thousands of transactions per second, without compromising architectural integrity.

Features

  • Facilitates the use of well understood object-oriented and functional programming patterns.
  • Supports implementation of code that adheres to a single responsibility principle (SRP). NestJS will be optional, but is recommended.
  • Takes care of infrastructure concerns, so that you can focus on making the most of your data.
  • Removes boiler plate code, especially the tedious and error-prone kind.
  • Supports streaming, without back-pressure. Large amounts of data can be managed in a timely and memory efficient manner.
  • Light-weight use-case specific object graph mapping (OGM).
6 questions
1
vote
1 answer

Drivine without nest.js?

I have an existing node-ts-express-setup that is not powered by nest.js. Unfortunatly the drivine docs and examples lack setup instructions without nest.js. Is it possible to run drivine without the need to import nest as dependency?
bastianowicz
  • 358
  • 2
  • 9
1
vote
1 answer

drivine how to set neo4j connection info without environment variables

In the Drivine neo4j driver, how do I set the application to connect to a specified database in code without setting the environment variables.
0
votes
0 answers

Is it possible to use Drivine with expressJS? I've only seen NestJS examples

I'm not entirely opposed to nest but I prefer to use express... I'm aware that it's a pretty new framework, but it looks great and before I commit to switching over to NestJS on my project, I want to make sure that it's needed.
Cari
  • 997
  • 1
  • 10
  • 16
0
votes
1 answer

How to create test data using Drivine and NestJS?

In the implementation of repositories, you inject the PersistenceManager interface using @InjectPersistenceManager(). For testing, the docs mention to use RunWithDrivine, and to import Drivine (through the AppModule) into the createTestingModule…
Nils
  • 520
  • 7
  • 15
0
votes
1 answer

Running multiple statements in one query using Drivine and Neo4j

I am trying to run four statements in one query to the database. It gives me an error message saying only one statement per query is possible. Is this possible with Drivine using Neo4j? If it is a setting, where can I find it and what value does it…
Nils
  • 520
  • 7
  • 15
0
votes
1 answer

Using Drivine and Neo4j, how can inline a query as a string, rather than injecting a separate file

I'm using Drivine, with Neo4j. The example shows how to inject a query stored in a separate file. How can I simply inline a query as a string?
Jasper Blues
  • 28,258
  • 22
  • 102
  • 185