Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
02-03-2020 10:00 PM
Drivine is a TypeScript client for Neo4j.
It is designed to to scale to hundreds or thousands of transactions per second and allows you to meet these goals without compromising architectural integrity.
The library provides a sweet-spot level of abstraction, with management and object to graph mapping (OGM) features. This includes the following:
Start creating repositories like the one below, by following the quick start guide:
@Injectable()
export class RouteRepository {
public constructor(
public readonly persistenceManager: TransactionalPersistenceManager,
@InjectCypher('@/traffic/routesBetween')) {
}
@Transactional()
public async findFastestBetween(start: string,
destination: string): Promise<Route> {
return this.persistenceManager.getOne(
new QuerySpecification<Route>()
.withStatement(this.routesBetween)
.bind([start, destination])
.limit(1)
.transform(Route)
);
}
}
All the sessions of the conference are now available online