Typedef
Static Public Summary | ||
public |
BookmarkManagerConfig: Object |
since 5.0 |
public |
NotificationCategory: 'HINT' | 'UNRECOGNIZED' | 'UNSUPPORTED' | 'PERFORMANCE' | 'DEPRECATION' | 'GENERIC' | 'UNKNOWN' |
|
public |
NotificationFilterDisabledCategory: 'HINT' | 'UNRECOGNIZED' | 'UNSUPPORTED' | 'PERFORMANCE' | 'DEPRECATION' | 'GENERIC' |
|
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 NotificationCategory: 'HINT' | 'UNRECOGNIZED' | 'UNSUPPORTED' | 'PERFORMANCE' | 'DEPRECATION' | 'GENERIC' | 'UNKNOWN' source
public NotificationFilterDisabledCategory: 'HINT' | 'UNRECOGNIZED' | 'UNSUPPORTED' | 'PERFORMANCE' | 'DEPRECATION' | 'GENERIC' 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 to limit query/transaction execution time. Specified timeout overrides the default timeout
configured in the database using |
|
metadata | Object | the transaction metadata. Specified metadata will be attached to the executing transaction and visible in the output
of |