Skip to main content
Module

x/neo4j_driver_lite/mod.ts>hasReachableServer

Neo4j Bolt driver for JavaScript
Go to Latest
function hasReachableServer
import { hasReachableServer } from "https://deno.land/x/neo4j_driver_lite@5.15.0/mod.ts";

Verifies if the driver can reach a server at the given url.

Parameters

url: string

The URL for the Neo4j database, for instance "neo4j://localhost" and/or "bolt://localhost"

optional
config: Pick<Config, "logging">

Configuration object. See the driver

Returns

Promise<true>

When the server is reachable