File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,14 @@ This driver uses semantic versioning:
1414- A change in the major version (e.g. 1.Y.Z -> 2.0.0) indicates _ breaking_
1515 changes that require changes in your code to upgrade.
1616
17+ ## [ Unreleased]
18+
19+ ### Added
20+
21+ - Added readonly ` Job#id ` property
22+
23+ This property was not previously exposed.
24+
1725## [ 9.0.0-preview.3]
1826
1927### Removed
@@ -1896,6 +1904,7 @@ For a detailed list of changes between pre-release versions of v7 see the
18961904
18971905 Graph methods now only return the relevant part of the response body.
18981906
1907+ [ unreleased ] : https://github.com/arangodb/arangojs/compare/v9.0.0-preview.3...HEAD
18991908[ 9.0.0-preview.3 ] : https://github.com/arangodb/arangojs/compare/v9.0.0-preview.2...v9.0.0-preview.3
19001909[ 9.0.0-preview.2 ] : https://github.com/arangodb/arangojs/compare/v9.0.0-preview.1...v9.0.0-preview.2
19011910[ 9.0.0-preview.1 ] : https://github.com/arangodb/arangojs/compare/v8.8.1...v9.0.0-preview.1
Original file line number Diff line number Diff line change @@ -27,6 +27,13 @@ export class Job<T = any> {
2727 this . _transformError = transformError ;
2828 }
2929
30+ /**
31+ * The job's ID.
32+ */
33+ get id ( ) : string {
34+ return this . _id ;
35+ }
36+
3037 /**
3138 * Whether the job's results have been loaded. If set to `true`, the job's
3239 * result can be accessed from {@link Job.result}.
You can’t perform that action at this time.
0 commit comments