Home Reference Source
import {Relationship} from 'neo4j-driver/lib/v1/graph-types.js'
public class | source

Relationship

Class for Relationship Type.

Constructor Summary

Public Constructor
public

constructor(identity: Integer, start: Integer, end: Integer, type: string, properties: Object)

Member Summary

Public Members
public

end: *

public
public
public

start: *

public

type: *

Method Summary

Public Methods
public

toString(): *

Public Constructors

public constructor(identity: Integer, start: Integer, end: Integer, type: string, properties: Object) source

Params:

NameTypeAttributeDescription
identity Integer

Unique identity

start Integer

Identity of start Node

end Integer

Identity of end Node

type string

Relationship type

properties Object

Map with relationship properties

Public Members

public end: * source

public identity: * source

public properties: * source

public start: * source

public type: * source

Public Methods

public toString(): * source

Return:

*