Typedef
Static Public Summary | ||
public |
BookmarkManagerConfig: Object |
since 5.0 |
public |
ErrorClassification: 'DATABASE_ERROR' | 'CLIENT_ERROR' | 'TRANSIENT_ERROR' | 'UNKNOWN' this typedef is experimental. this is part of the preview of GQL-compliant errors
|
|
public |
KeyFileObject: object Represents KeyFile represented as file. |
|
public |
NotificationCategory: 'HINT' | 'UNRECOGNIZED' | 'UNSUPPORTED' | 'PERFORMANCE' | 'TOPOLOGY' | 'SECURITY' | 'DEPRECATION' | 'GENERIC' | 'SCHEMA' | 'UNKNOWN' |
|
public |
this typedef is experimental.
|
|
public |
NotificationFilterDisabledCategory: 'HINT' | 'UNRECOGNIZED' | 'UNSUPPORTED' | 'PERFORMANCE' | 'TOPOLOGY' | 'SECURITY' | 'DEPRECATION' | 'GENERIC' | 'SCHEMA' |
|
public |
this typedef is experimental.
|
|
public |
NotificationFilterMinimumSeverityLevel: 'WARNING' | 'INFORMATION' | 'OFF' |
|
public |
NotificationSeverityLevel: 'WARNING' | 'INFORMATION' | 'UNKNOWN' |
|
public |
ResultTransformer: function<T>(result:Result):Promise<T> Protocol for transforming Result. |
|
public |
RoutingControl: 'WRITE' | 'READ' |
|
public |
TransactionConfig: Object Configuration object containing settings for explicit and auto-commit transactions. |
Static Public
public BookmarkManagerConfig: Object since 5.0 source
Properties:
Name | Type | Attribute | Description |
initialBookmarks | Iterable<string> |
|
Defines the initial set of bookmarks. The key is the database name and the values are the bookmarks. |
bookmarksSupplier | function(): Promise<Iterable<string>> |
|
Called for supplying extra bookmarks to the BookmarkManager |
bookmarksConsumer | function(bookmarks: Iterable<string>): Promise<void> |
|
Called when the set of bookmarks get updated |
public ErrorClassification: 'DATABASE_ERROR' | 'CLIENT_ERROR' | 'TRANSIENT_ERROR' | 'UNKNOWN' source
public KeyFileObject: object source
Represents KeyFile represented as file.
Properties:
Name | Type | Attribute | Description |
path | string | The path of the file |
|
password | string | undefined | the password of the key. If none, the password defined at ClientCertificate will be used. |
public NotificationCategory: 'HINT' | 'UNRECOGNIZED' | 'UNSUPPORTED' | 'PERFORMANCE' | 'TOPOLOGY' | 'SECURITY' | 'DEPRECATION' | 'GENERIC' | 'SCHEMA' | 'UNKNOWN' source
public NotificationFilterDisabledCategory: 'HINT' | 'UNRECOGNIZED' | 'UNSUPPORTED' | 'PERFORMANCE' | 'TOPOLOGY' | 'SECURITY' | 'DEPRECATION' | 'GENERIC' | 'SCHEMA' source
public NotificationFilterDisabledClassification: NotificationFilterDisabledCategory source
public NotificationFilterMinimumSeverityLevel: 'WARNING' | 'INFORMATION' | 'OFF' source
public NotificationSeverityLevel: 'WARNING' | 'INFORMATION' | 'UNKNOWN' source
public ResultTransformer: function<T>(result:Result):Promise<T> source
Protocol for transforming Result.
See:
- resultTransformers for provided implementations.
- Driver#executeQuery for usage.
public RoutingControl: 'WRITE' | 'READ' source
public TransactionConfig: Object source
Configuration object containing settings for explicit and auto-commit transactions.
Configuration is supported for:
- queries executed in auto-commit transactions using Session#run and RxSession#run
- transactions started by transaction functions using Session#readTransaction, RxSession#readTransaction, Session#writeTransaction and RxSession#writeTransaction
- explicit transactions using Session#beginTransaction and RxSession#beginTransaction
Properties:
Name | Type | Attribute | Description |
timeout | number | the transaction timeout in milliseconds. Transactions that execute longer than the
configured timeout will be terminated by the database. This functionality allows user code to limit
query/transaction execution time. The specified timeout overrides the default timeout configured in the database
using the |
|
metadata | Object | the transaction metadata. Specified metadata will be attached to the executing transaction and visible in the output
of |