@wearesage/schema
    Preparing search index...

    Class Neo4jAdapter

    Implementation of DatabaseAdapter for Neo4j

    Implements

    Index

    Constructors

    • Constructor for Neo4j adapter

      Parameters

      • registry: MetadataRegistry

        The metadata registry to use for schema information

      • connectionString: string

        The Neo4j connection string

      • auth: Neo4jAuthConfig = ...

        The Neo4j authentication (username/password)

      Returns Neo4jAdapter

    Properties

    type: "Neo4j" = 'Neo4j'

    Name of the database type (Neo4j, MongoDB, PostgreSQL, etc.)

    Methods

    • Close the Neo4j driver when done

      Returns Promise<void>

    • Execute a raw Cypher query

      Type Parameters

      • T = any

      Parameters

      • query: string
      • Optionalparams: Record<string, any>

      Returns Promise<T>