Variable
| Static Public Summary | ||
| public | PROTOCOL_ERROR: string Error code representing serialization/deserialization issue in the Bolt protocol. | |
| public | READ: string Constant that represents read session access mode. | |
| public |  | |
| public | SERVICE_UNAVAILABLE: string Error code representing complete loss of service. | |
| public | SESSION_EXPIRED: string Error code representing transient loss of service. | |
| public | WRITE: string Constant that represents write session access mode. | |
| public |  | |
| public | Holds the common AuthTokenManagers used in the Driver. | |
| public | Holds the common ClientCertificateProviders used in the Driver. | since 5.27 | 
| public | Object containing string constants representing predefined Neo4jError codes. | |
| public |  | |
| public |  | |
| public |  | |
| public | inSafeRange(value: Mixed): Boolean Check if a variable can be safely converted to a number | |
| public | Cast value to Integer type. | |
| public |  | |
| public | isInt(value: Mixed): Boolean Check if a variable is of Integer type. | |
| public | isRetriableError(error: object | undefined | null): boolean this variable was deprecated. members using the spelling 'retriable' will be removed in 7.0. Use {@link isRetryableError} instead. Verifies if the given error is retriable. | |
| public | isRetryableError(error: object | undefined | null): boolean Verifies if the given error is retryable. | |
| public | Object containing predefined logging configurations. | |
| public |  | |
| public | this variable was deprecated. use {@link notificationClassification} instead. Constants that represents the Category in the Notification | |
| public | Constants that represents the Classification in the GqlStatusObject | |
| public | this variable was deprecated. use {@link notificationFilterDisabledClassification} instead. Constants that represents the disabled categories in the NotificationFilter | |
| public | Constants that represents the disabled classifications in the NotificationFilter | |
| public | Constants that represents the minimum Severity level in the NotificationFilter | |
| public | Constants that represents the Severity level in the GqlStatusObject | |
| public | queryType: {SCHEMA_WRITE: string, WRITE_ONLY: string, READ_ONLY: string, READ_WRITE: string} The constants for query types | |
| public |  | |
| public |  | |
| public | Constants that represents routing modes. | |
| public | this variable is experimental. Part of the Record Object Mapping preview feature | |
| public |  | |
| public |  | |
| public |  | |
| public |  | |
| public | toNumber(value: Mixed): number Converts a variable to a number | |
| public | toString(value: Mixed, radix: number): string Converts the integer to a string representation | |
| public |  | |
Static Public
public PROTOCOL_ERROR: string source
import {PROTOCOL_ERROR} from 'neo4j-driver-core/lib/error.js'Error code representing serialization/deserialization issue in the Bolt protocol. Used by Neo4jError#code.
public READ: string source
import {READ} from 'neo4j-driver-core/lib/driver.js'Constant that represents read session access mode.
Should be used like this: driver.session({ defaultAccessMode: neo4j.session.READ }).
public RecordObjectMapping source
import {RecordObjectMapping} from 'neo4j-driver-core/lib/mapping.highlevel.js'public SERVICE_UNAVAILABLE: string source
import {SERVICE_UNAVAILABLE} from 'neo4j-driver-core/lib/error.js'Error code representing complete loss of service. Used by Neo4jError#code.
public SESSION_EXPIRED: string source
import {SESSION_EXPIRED} from 'neo4j-driver-core/lib/error.js'Error code representing transient loss of service. Used by Neo4jError#code.
public WRITE: string source
import {WRITE} from 'neo4j-driver-core/lib/driver.js'Constant that represents write session access mode.
Should be used like this: driver.session({ defaultAccessMode: neo4j.session.WRITE }).
public auth source
import auth from 'neo4j-driver-core/lib/auth.js'Properties:
| Name | Type | Attribute | Description | 
| basic | function(username: string, password: string, realm: ?string) | the function to create a basic authentication token. | |
| kerberos | function(base64EncodedTicket: string) | the function to create a Kerberos authentication token. Accepts a single string argument - base64 encoded Kerberos ticket. | |
| bearer | function(base64EncodedTicket: string) | the function to create a Bearer authentication token. Accepts a single string argument - base64 encoded Bearer ticket. | |
| custom | function(principal: string, credentials: string, realm: string, scheme: string, parameters: ?object) | the function to create a custom authentication token. | 
public authTokenManagers source
import {authTokenManagers} from 'neo4j-driver-core/lib/auth-token-manager.js'Holds the common AuthTokenManagers used in the Driver.
public clientCertificateProviders since 5.27 source
import {clientCertificateProviders} from 'neo4j-driver-core/lib/client-certificate.js'Holds the common ClientCertificateProviders used in the Driver.
public error source
import {error} from 'neo4j-driver-core'Object containing string constants representing predefined Neo4jError codes.
public inSafeRange(value: Mixed): Boolean source
import {inSafeRange} from 'neo4j-driver-core/lib/integer.js'Check if a variable can be safely converted to a number
Return:
| Boolean | true if it is safe to call toNumber on variable otherwise false | 
public int(value: Mixed, opts: Object): Integer source
import {int} from 'neo4j-driver-core/lib/integer.js'Cast value to Integer type.
public isInt(value: Mixed): Boolean source
import {isInt} from 'neo4j-driver-core/lib/integer.js'Check if a variable is of Integer type.
Return:
| Boolean | Is it of the Integer type? | 
public isRetriableError(error: object | undefined | null): boolean source
import {isRetriableError} from 'neo4j-driver-core/lib/error.js'Verifies if the given error is retriable.
Return:
| boolean | true if the error is retriable | 
public isRetryableError(error: object | undefined | null): boolean source
import {isRetryableError} from 'neo4j-driver-core/lib/error.js'Verifies if the given error is retryable.
Return:
| boolean | true if the error is retryable | 
public logging source
import {logging} from 'neo4j-driver'Object containing predefined logging configurations. These are expected to be used as values of the driver config's logging property.
Properties:
| Name | Type | Attribute | Description | 
| console | function(level: ?string): object | the function to create a logging config that prints all messages to  | 
public nameConventions source
import {nameConventions} from 'neo4j-driver-core/lib/mapping.nameconventions.js'public notificationCategory source
import {notificationCategory} from 'neo4j-driver-core/lib/notification.js'Constants that represents the Category in the Notification
public notificationClassification: notificationCategory source
import {notificationClassification} from 'neo4j-driver-core/lib/notification.js'Constants that represents the Classification in the GqlStatusObject
public notificationFilterDisabledCategory source
import {notificationFilterDisabledCategory} from 'neo4j-driver-core/lib/notification-filter.js'Constants that represents the disabled categories in the NotificationFilter
public notificationFilterDisabledClassification: NotificationFilterDisabledClassification source
import {notificationFilterDisabledClassification} from 'neo4j-driver-core/lib/notification-filter.js'Constants that represents the disabled classifications in the NotificationFilter
public notificationFilterMinimumSeverityLevel source
import {notificationFilterMinimumSeverityLevel} from 'neo4j-driver-core/lib/notification-filter.js'Constants that represents the minimum Severity level in the NotificationFilter
public notificationSeverityLevel source
import {notificationSeverityLevel} from 'neo4j-driver-core/lib/notification.js'Constants that represents the Severity level in the GqlStatusObject
public queryType: {SCHEMA_WRITE: string, WRITE_ONLY: string, READ_ONLY: string, READ_WRITE: string} source
import {queryType} from 'neo4j-driver-core/lib/result-summary.js'The constants for query types
public rawPolyfilledDiagnosticRecord source
import {rawPolyfilledDiagnosticRecord} from 'neo4j-driver-core/lib/gql-constants.js'public resultTransformers source
import resultTransformers from 'neo4j-driver-core/lib/result-transformers.js'public routing source
import {routing} from 'neo4j-driver-core/lib/driver.js'Constants that represents routing modes.
Example:
driver.executeQuery("<QUERY>", <PARAMETERS>, { routing: neo4j.routing.WRITE })public rule source
import {rule} from 'neo4j-driver-core/lib/mapping.rulesfactories.js'Properties:
| Name | Type | Attribute | Description | 
| asString | function(rule: ?Rule) | Create a Rule that validates the value is a String. | |
| asNumber | function(rule: ?Rule & { acceptBigInt?: boolean }) | Create a Rule that validates the value is a Number. | |
| AsBigInt | function(rule: ?Rule & { acceptNumber?: boolean }) | Create a Rule that validates the value is a BigInt. | |
| asNode | function(rule: ?Rule) | Create a Rule that validates the value is a Node. | |
| asRelationship | function(rule: ?Rule) | Create a Rule that validates the value is a Relationship. | |
| asPath | function(rule: ?Rule) | Create a Rule that validates the value is a Path. | |
| asDuration | function(rule: ?Rule & { stringify?: boolean }) | Create a Rule that validates the value is a Duration. | |
| asLocalTime | function(rule: ?Rule & { stringify?: boolean }) | Create a Rule that validates the value is a LocalTime. | |
| asLocalDateTime | function(rule: ?Rule & { stringify?: boolean }) | Create a Rule that validates the value is a LocalDateTime. | |
| asTime | function(rule: ?Rule & { stringify?: boolean }) | Create a Rule that validates the value is a Time. | |
| asDateTime | function(rule: ?Rule & { stringify?: boolean }) | Create a Rule that validates the value is a DateTime. | |
| asDate | function(rule: ?Rule & { stringify?: boolean }) | Create a Rule that validates the value is a Date. | |
| asPoint | function(rule: ?Rule) | Create a Rule that validates the value is a Point. | |
| asList | function(rule: ?Rule & { apply?: Rule }) | Create a Rule that validates the value is a List. | |
| asVector | function(rule: ?Rule & { asTypedList: boolean }) | Create a Rule that validates the value is a List. | 
public rulesRegistry source
import {rulesRegistry} from 'neo4j-driver-core/lib/mapping.highlevel.js'public toNumber(value: Mixed): number source
import {toNumber} from 'neo4j-driver-core/lib/integer.js'Converts a variable to a number
Return:
| number | the variable as a number | 
public toString(value: Mixed, radix: number): string source
import {toString} from 'neo4j-driver-core/lib/integer.js'Converts the integer to a string representation
Return:
| string | returns a string representation of the integer | 
 
    
  