Other Driver Data Types

Unsupported Type

class neo4j.types.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.

property name: str

The name of the type.

property minimum_protocol_version: tuple[int, int]

The minimum required Bolt protocol version that supports this type.

This is a 2-tuple of (major, minor) integers.

To understand which driver version this corresponds to, refer to the driver’s release notes or documentation.

Note

Bolt versions are not generally equivalent to driver versions. See the driver manual for which driver version is required for new types.

property message: str | None

Optional, further details about this type.

Any additional information provided by the server about this type.