prorm API Reference
    Preparing search index...

    Interface Neo4jTransaction

    A handle to an explicit (begin/commit/rollback) transaction, returned by beginTransaction(). Unlike executeRead()/executeWrite(), this is not automatically retried on transient errors - the caller drives commit/ rollback explicitly.

    interface Neo4jTransaction {
        run<T = Record<string, unknown>>(
            cypher: string,
            params?: CypherParams,
        ): Promise<CypherResult<T>>;
        commit(): Promise<void>;
        rollback(): Promise<void>;
        isOpen(): boolean;
    }
    Index