Home Reference Source
import UnsupportedType from 'neo4j-driver-core/lib/unsupported-type.js'
public class | source

UnsupportedType

Represents a type unknown to the driver, received from the server. This type is used for instance when a newer DBMS produces a result containing a type that the current version of the driver does not yet understand.

Note that this type may only be received from the server, but cannot be sent to the server (e.g., as a query parameter).

The attributes exposed by this type are meant for displaying and debugging purposes. They may change in future versions of the server, and should not be relied upon for any logic in your application. If your application requires handling this type, you must upgrade your driver to a version that supports it.

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

message: string | undefined

An optional message, including additional information regarding the untransmittable value.

public

The minimum required Bolt protocol version that supports this type.

public

name: string

The name of the type that could not be transmitted.

Method Summary

Public Methods
public

Public Constructors

public constructor() source

Public Members

public message: string | undefined source

An optional message, including additional information regarding the untransmittable value.

public minimumProtocolVersion: string source

The minimum required Bolt protocol version that supports this type. Note: Bolt versions are not generally equivalent to driver versions. See https://neo4j.com/docs/javascript-manual/current/data-types/ for which driver version is required for new Types.

public name: string source

The name of the type that could not be transmitted.

Public Methods

public toString() source