neo4j-driver 5.3.0 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +1 -8
- package/README.md +21 -0
- package/lib/browser/neo4j-web.esm.js +31294 -0
- package/lib/browser/neo4j-web.esm.min.js +1 -0
- package/lib/browser/neo4j-web.js +31301 -32537
- package/lib/browser/neo4j-web.min.js +1 -1
- package/lib/docs.js +1 -3
- package/lib/driver.js +78 -89
- package/lib/index.js +319 -547
- package/lib/internal/retry-logic-rx.js +64 -112
- package/lib/internal/server-version.js +77 -116
- package/lib/result-rx.js +292 -433
- package/lib/session-rx.js +128 -207
- package/lib/transaction-managed-rx.js +30 -52
- package/lib/transaction-rx.js +72 -104
- package/lib/version.js +2 -8
- package/package.json +24 -30
- package/spec/support/jasmine.json +0 -1
- package/types/driver.d.ts +1 -1
- package/types/index.d.ts +59 -37
- package/types/result-rx.d.ts +1 -1
- package/types/session-rx.d.ts +1 -1
- package/types/transaction-managed-rx.d.ts +1 -1
- package/types/transaction-rx.d.ts +1 -1
- package/.nycrc +0 -4
- package/support/inject-browser-transform.js +0 -20
package/lib/index.js
CHANGED
|
@@ -1,294 +1,46 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
Object.defineProperty(exports, "LocalTime", {
|
|
45
|
-
enumerable: true,
|
|
46
|
-
get: function get() {
|
|
47
|
-
return _neo4jDriverCore.LocalTime;
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
Object.defineProperty(exports, "ManagedTransaction", {
|
|
51
|
-
enumerable: true,
|
|
52
|
-
get: function get() {
|
|
53
|
-
return _neo4jDriverCore.ManagedTransaction;
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
Object.defineProperty(exports, "Neo4jError", {
|
|
57
|
-
enumerable: true,
|
|
58
|
-
get: function get() {
|
|
59
|
-
return _neo4jDriverCore.Neo4jError;
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
Object.defineProperty(exports, "Node", {
|
|
63
|
-
enumerable: true,
|
|
64
|
-
get: function get() {
|
|
65
|
-
return _neo4jDriverCore.Node;
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
Object.defineProperty(exports, "Notification", {
|
|
69
|
-
enumerable: true,
|
|
70
|
-
get: function get() {
|
|
71
|
-
return _neo4jDriverCore.Notification;
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
Object.defineProperty(exports, "Path", {
|
|
75
|
-
enumerable: true,
|
|
76
|
-
get: function get() {
|
|
77
|
-
return _neo4jDriverCore.Path;
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
Object.defineProperty(exports, "PathSegment", {
|
|
81
|
-
enumerable: true,
|
|
82
|
-
get: function get() {
|
|
83
|
-
return _neo4jDriverCore.PathSegment;
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
Object.defineProperty(exports, "Plan", {
|
|
87
|
-
enumerable: true,
|
|
88
|
-
get: function get() {
|
|
89
|
-
return _neo4jDriverCore.Plan;
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
Object.defineProperty(exports, "Point", {
|
|
93
|
-
enumerable: true,
|
|
94
|
-
get: function get() {
|
|
95
|
-
return _neo4jDriverCore.Point;
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
Object.defineProperty(exports, "ProfiledPlan", {
|
|
99
|
-
enumerable: true,
|
|
100
|
-
get: function get() {
|
|
101
|
-
return _neo4jDriverCore.ProfiledPlan;
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
Object.defineProperty(exports, "QueryStatistics", {
|
|
105
|
-
enumerable: true,
|
|
106
|
-
get: function get() {
|
|
107
|
-
return _neo4jDriverCore.QueryStatistics;
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
Object.defineProperty(exports, "Record", {
|
|
111
|
-
enumerable: true,
|
|
112
|
-
get: function get() {
|
|
113
|
-
return _neo4jDriverCore.Record;
|
|
114
|
-
}
|
|
115
|
-
});
|
|
116
|
-
Object.defineProperty(exports, "Relationship", {
|
|
117
|
-
enumerable: true,
|
|
118
|
-
get: function get() {
|
|
119
|
-
return _neo4jDriverCore.Relationship;
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
Object.defineProperty(exports, "Result", {
|
|
123
|
-
enumerable: true,
|
|
124
|
-
get: function get() {
|
|
125
|
-
return _neo4jDriverCore.Result;
|
|
126
|
-
}
|
|
127
|
-
});
|
|
128
|
-
Object.defineProperty(exports, "ResultSummary", {
|
|
129
|
-
enumerable: true,
|
|
130
|
-
get: function get() {
|
|
131
|
-
return _neo4jDriverCore.ResultSummary;
|
|
132
|
-
}
|
|
133
|
-
});
|
|
134
|
-
Object.defineProperty(exports, "RxManagedTransaction", {
|
|
135
|
-
enumerable: true,
|
|
136
|
-
get: function get() {
|
|
137
|
-
return _transactionManagedRx["default"];
|
|
138
|
-
}
|
|
139
|
-
});
|
|
140
|
-
Object.defineProperty(exports, "RxResult", {
|
|
141
|
-
enumerable: true,
|
|
142
|
-
get: function get() {
|
|
143
|
-
return _resultRx["default"];
|
|
144
|
-
}
|
|
145
|
-
});
|
|
146
|
-
Object.defineProperty(exports, "RxSession", {
|
|
147
|
-
enumerable: true,
|
|
148
|
-
get: function get() {
|
|
149
|
-
return _sessionRx["default"];
|
|
150
|
-
}
|
|
151
|
-
});
|
|
152
|
-
Object.defineProperty(exports, "RxTransaction", {
|
|
153
|
-
enumerable: true,
|
|
154
|
-
get: function get() {
|
|
155
|
-
return _transactionRx["default"];
|
|
156
|
-
}
|
|
157
|
-
});
|
|
158
|
-
Object.defineProperty(exports, "ServerInfo", {
|
|
159
|
-
enumerable: true,
|
|
160
|
-
get: function get() {
|
|
161
|
-
return _neo4jDriverCore.ServerInfo;
|
|
162
|
-
}
|
|
163
|
-
});
|
|
164
|
-
Object.defineProperty(exports, "Session", {
|
|
165
|
-
enumerable: true,
|
|
166
|
-
get: function get() {
|
|
167
|
-
return _neo4jDriverCore.Session;
|
|
168
|
-
}
|
|
169
|
-
});
|
|
170
|
-
Object.defineProperty(exports, "Time", {
|
|
171
|
-
enumerable: true,
|
|
172
|
-
get: function get() {
|
|
173
|
-
return _neo4jDriverCore.Time;
|
|
174
|
-
}
|
|
175
|
-
});
|
|
176
|
-
Object.defineProperty(exports, "Transaction", {
|
|
177
|
-
enumerable: true,
|
|
178
|
-
get: function get() {
|
|
179
|
-
return _neo4jDriverCore.Transaction;
|
|
180
|
-
}
|
|
181
|
-
});
|
|
182
|
-
Object.defineProperty(exports, "UnboundRelationship", {
|
|
183
|
-
enumerable: true,
|
|
184
|
-
get: function get() {
|
|
185
|
-
return _neo4jDriverCore.UnboundRelationship;
|
|
186
|
-
}
|
|
187
|
-
});
|
|
188
|
-
Object.defineProperty(exports, "auth", {
|
|
189
|
-
enumerable: true,
|
|
190
|
-
get: function get() {
|
|
191
|
-
return _neo4jDriverCore.auth;
|
|
192
|
-
}
|
|
193
|
-
});
|
|
194
|
-
Object.defineProperty(exports, "bookmarkManager", {
|
|
195
|
-
enumerable: true,
|
|
196
|
-
get: function get() {
|
|
197
|
-
return _neo4jDriverCore.bookmarkManager;
|
|
198
|
-
}
|
|
199
|
-
});
|
|
200
|
-
exports["default"] = void 0;
|
|
201
|
-
exports.driver = driver;
|
|
202
|
-
Object.defineProperty(exports, "error", {
|
|
203
|
-
enumerable: true,
|
|
204
|
-
get: function get() {
|
|
205
|
-
return _neo4jDriverCore.error;
|
|
206
|
-
}
|
|
207
|
-
});
|
|
208
|
-
exports.hasReachableServer = hasReachableServer;
|
|
209
|
-
Object.defineProperty(exports, "int", {
|
|
210
|
-
enumerable: true,
|
|
211
|
-
get: function get() {
|
|
212
|
-
return _neo4jDriverCore["int"];
|
|
213
|
-
}
|
|
214
|
-
});
|
|
215
|
-
exports.integer = void 0;
|
|
216
|
-
Object.defineProperty(exports, "isDate", {
|
|
217
|
-
enumerable: true,
|
|
218
|
-
get: function get() {
|
|
219
|
-
return _neo4jDriverCore.isDate;
|
|
220
|
-
}
|
|
221
|
-
});
|
|
222
|
-
Object.defineProperty(exports, "isDateTime", {
|
|
223
|
-
enumerable: true,
|
|
224
|
-
get: function get() {
|
|
225
|
-
return _neo4jDriverCore.isDateTime;
|
|
226
|
-
}
|
|
227
|
-
});
|
|
228
|
-
Object.defineProperty(exports, "isDuration", {
|
|
229
|
-
enumerable: true,
|
|
230
|
-
get: function get() {
|
|
231
|
-
return _neo4jDriverCore.isDuration;
|
|
232
|
-
}
|
|
233
|
-
});
|
|
234
|
-
Object.defineProperty(exports, "isInt", {
|
|
235
|
-
enumerable: true,
|
|
236
|
-
get: function get() {
|
|
237
|
-
return _neo4jDriverCore.isInt;
|
|
238
|
-
}
|
|
239
|
-
});
|
|
240
|
-
Object.defineProperty(exports, "isLocalDateTime", {
|
|
241
|
-
enumerable: true,
|
|
242
|
-
get: function get() {
|
|
243
|
-
return _neo4jDriverCore.isLocalDateTime;
|
|
244
|
-
}
|
|
245
|
-
});
|
|
246
|
-
Object.defineProperty(exports, "isLocalTime", {
|
|
247
|
-
enumerable: true,
|
|
248
|
-
get: function get() {
|
|
249
|
-
return _neo4jDriverCore.isLocalTime;
|
|
250
|
-
}
|
|
251
|
-
});
|
|
252
|
-
Object.defineProperty(exports, "isPoint", {
|
|
253
|
-
enumerable: true,
|
|
254
|
-
get: function get() {
|
|
255
|
-
return _neo4jDriverCore.isPoint;
|
|
256
|
-
}
|
|
257
|
-
});
|
|
258
|
-
Object.defineProperty(exports, "isRetryableError", {
|
|
259
|
-
enumerable: true,
|
|
260
|
-
get: function get() {
|
|
261
|
-
return _neo4jDriverCore.isRetryableError;
|
|
262
|
-
}
|
|
263
|
-
});
|
|
264
|
-
Object.defineProperty(exports, "isTime", {
|
|
265
|
-
enumerable: true,
|
|
266
|
-
get: function get() {
|
|
267
|
-
return _neo4jDriverCore.isTime;
|
|
268
|
-
}
|
|
269
|
-
});
|
|
270
|
-
exports.types = exports.temporal = exports.spatial = exports.session = exports.logging = void 0;
|
|
271
|
-
|
|
272
|
-
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
273
|
-
|
|
274
|
-
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
275
|
-
|
|
276
|
-
var _driver = require("./driver");
|
|
277
|
-
|
|
278
|
-
var _version = _interopRequireDefault(require("./version"));
|
|
279
|
-
|
|
280
|
-
var _neo4jDriverCore = require("neo4j-driver-core");
|
|
281
|
-
|
|
282
|
-
var _neo4jDriverBoltConnection = require("neo4j-driver-bolt-connection");
|
|
283
|
-
|
|
284
|
-
var _sessionRx = _interopRequireDefault(require("./session-rx"));
|
|
285
|
-
|
|
286
|
-
var _transactionRx = _interopRequireDefault(require("./transaction-rx"));
|
|
287
|
-
|
|
288
|
-
var _transactionManagedRx = _interopRequireDefault(require("./transaction-managed-rx"));
|
|
289
|
-
|
|
290
|
-
var _resultRx = _interopRequireDefault(require("./result-rx"));
|
|
291
|
-
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
+
function step(op) {
|
|
16
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
+
switch (op[0]) {
|
|
21
|
+
case 0: case 1: t = op; break;
|
|
22
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
+
default:
|
|
26
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
+
if (t[2]) _.ops.pop();
|
|
31
|
+
_.trys.pop(); continue;
|
|
32
|
+
}
|
|
33
|
+
op = body.call(thisArg, _);
|
|
34
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
39
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
40
|
+
};
|
|
41
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
|
+
exports.Integer = exports.Point = exports.PathSegment = exports.Path = exports.UnboundRelationship = exports.Relationship = exports.Node = exports.Record = exports.ServerInfo = exports.Notification = exports.QueryStatistics = exports.ProfiledPlan = exports.Plan = exports.ResultSummary = exports.RxResult = exports.RxManagedTransaction = exports.RxTransaction = exports.RxSession = exports.Result = exports.ManagedTransaction = exports.Transaction = exports.Session = exports.Driver = exports.temporal = exports.spatial = exports.graph = exports.error = exports.session = exports.types = exports.logging = exports.auth = exports.isRetryableError = exports.Neo4jError = exports.integer = exports.isUnboundRelationship = exports.isRelationship = exports.isPathSegment = exports.isPath = exports.isNode = exports.isDateTime = exports.isLocalDateTime = exports.isDate = exports.isTime = exports.isLocalTime = exports.isDuration = exports.isPoint = exports.isInt = exports.int = exports.hasReachableServer = exports.driver = void 0;
|
|
43
|
+
exports.bookmarkManager = exports.DateTime = exports.LocalDateTime = exports.Date = exports.Time = exports.LocalTime = exports.Duration = void 0;
|
|
292
44
|
/**
|
|
293
45
|
* Copyright (c) "Neo4j"
|
|
294
46
|
* Neo4j Sweden AB [http://neo4j.com]
|
|
@@ -307,12 +59,63 @@ var _resultRx = _interopRequireDefault(require("./result-rx"));
|
|
|
307
59
|
* See the License for the specific language governing permissions and
|
|
308
60
|
* limitations under the License.
|
|
309
61
|
*/
|
|
310
|
-
var
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
62
|
+
var driver_1 = require("./driver");
|
|
63
|
+
Object.defineProperty(exports, "Driver", { enumerable: true, get: function () { return driver_1.Driver; } });
|
|
64
|
+
var version_1 = __importDefault(require("./version"));
|
|
65
|
+
var neo4j_driver_core_1 = require("neo4j-driver-core");
|
|
66
|
+
Object.defineProperty(exports, "Neo4jError", { enumerable: true, get: function () { return neo4j_driver_core_1.Neo4jError; } });
|
|
67
|
+
Object.defineProperty(exports, "isRetryableError", { enumerable: true, get: function () { return neo4j_driver_core_1.isRetryableError; } });
|
|
68
|
+
Object.defineProperty(exports, "error", { enumerable: true, get: function () { return neo4j_driver_core_1.error; } });
|
|
69
|
+
Object.defineProperty(exports, "Integer", { enumerable: true, get: function () { return neo4j_driver_core_1.Integer; } });
|
|
70
|
+
Object.defineProperty(exports, "int", { enumerable: true, get: function () { return neo4j_driver_core_1.int; } });
|
|
71
|
+
Object.defineProperty(exports, "isInt", { enumerable: true, get: function () { return neo4j_driver_core_1.isInt; } });
|
|
72
|
+
Object.defineProperty(exports, "isPoint", { enumerable: true, get: function () { return neo4j_driver_core_1.isPoint; } });
|
|
73
|
+
Object.defineProperty(exports, "Point", { enumerable: true, get: function () { return neo4j_driver_core_1.Point; } });
|
|
74
|
+
Object.defineProperty(exports, "Date", { enumerable: true, get: function () { return neo4j_driver_core_1.Date; } });
|
|
75
|
+
Object.defineProperty(exports, "DateTime", { enumerable: true, get: function () { return neo4j_driver_core_1.DateTime; } });
|
|
76
|
+
Object.defineProperty(exports, "Duration", { enumerable: true, get: function () { return neo4j_driver_core_1.Duration; } });
|
|
77
|
+
Object.defineProperty(exports, "isDate", { enumerable: true, get: function () { return neo4j_driver_core_1.isDate; } });
|
|
78
|
+
Object.defineProperty(exports, "isDateTime", { enumerable: true, get: function () { return neo4j_driver_core_1.isDateTime; } });
|
|
79
|
+
Object.defineProperty(exports, "isDuration", { enumerable: true, get: function () { return neo4j_driver_core_1.isDuration; } });
|
|
80
|
+
Object.defineProperty(exports, "isLocalDateTime", { enumerable: true, get: function () { return neo4j_driver_core_1.isLocalDateTime; } });
|
|
81
|
+
Object.defineProperty(exports, "isLocalTime", { enumerable: true, get: function () { return neo4j_driver_core_1.isLocalTime; } });
|
|
82
|
+
Object.defineProperty(exports, "isNode", { enumerable: true, get: function () { return neo4j_driver_core_1.isNode; } });
|
|
83
|
+
Object.defineProperty(exports, "isPath", { enumerable: true, get: function () { return neo4j_driver_core_1.isPath; } });
|
|
84
|
+
Object.defineProperty(exports, "isPathSegment", { enumerable: true, get: function () { return neo4j_driver_core_1.isPathSegment; } });
|
|
85
|
+
Object.defineProperty(exports, "isRelationship", { enumerable: true, get: function () { return neo4j_driver_core_1.isRelationship; } });
|
|
86
|
+
Object.defineProperty(exports, "isTime", { enumerable: true, get: function () { return neo4j_driver_core_1.isTime; } });
|
|
87
|
+
Object.defineProperty(exports, "isUnboundRelationship", { enumerable: true, get: function () { return neo4j_driver_core_1.isUnboundRelationship; } });
|
|
88
|
+
Object.defineProperty(exports, "LocalDateTime", { enumerable: true, get: function () { return neo4j_driver_core_1.LocalDateTime; } });
|
|
89
|
+
Object.defineProperty(exports, "LocalTime", { enumerable: true, get: function () { return neo4j_driver_core_1.LocalTime; } });
|
|
90
|
+
Object.defineProperty(exports, "Time", { enumerable: true, get: function () { return neo4j_driver_core_1.Time; } });
|
|
91
|
+
Object.defineProperty(exports, "Node", { enumerable: true, get: function () { return neo4j_driver_core_1.Node; } });
|
|
92
|
+
Object.defineProperty(exports, "Path", { enumerable: true, get: function () { return neo4j_driver_core_1.Path; } });
|
|
93
|
+
Object.defineProperty(exports, "PathSegment", { enumerable: true, get: function () { return neo4j_driver_core_1.PathSegment; } });
|
|
94
|
+
Object.defineProperty(exports, "Relationship", { enumerable: true, get: function () { return neo4j_driver_core_1.Relationship; } });
|
|
95
|
+
Object.defineProperty(exports, "UnboundRelationship", { enumerable: true, get: function () { return neo4j_driver_core_1.UnboundRelationship; } });
|
|
96
|
+
Object.defineProperty(exports, "Record", { enumerable: true, get: function () { return neo4j_driver_core_1.Record; } });
|
|
97
|
+
Object.defineProperty(exports, "ResultSummary", { enumerable: true, get: function () { return neo4j_driver_core_1.ResultSummary; } });
|
|
98
|
+
Object.defineProperty(exports, "Plan", { enumerable: true, get: function () { return neo4j_driver_core_1.Plan; } });
|
|
99
|
+
Object.defineProperty(exports, "ProfiledPlan", { enumerable: true, get: function () { return neo4j_driver_core_1.ProfiledPlan; } });
|
|
100
|
+
Object.defineProperty(exports, "QueryStatistics", { enumerable: true, get: function () { return neo4j_driver_core_1.QueryStatistics; } });
|
|
101
|
+
Object.defineProperty(exports, "Notification", { enumerable: true, get: function () { return neo4j_driver_core_1.Notification; } });
|
|
102
|
+
Object.defineProperty(exports, "ServerInfo", { enumerable: true, get: function () { return neo4j_driver_core_1.ServerInfo; } });
|
|
103
|
+
Object.defineProperty(exports, "Result", { enumerable: true, get: function () { return neo4j_driver_core_1.Result; } });
|
|
104
|
+
Object.defineProperty(exports, "auth", { enumerable: true, get: function () { return neo4j_driver_core_1.auth; } });
|
|
105
|
+
Object.defineProperty(exports, "Session", { enumerable: true, get: function () { return neo4j_driver_core_1.Session; } });
|
|
106
|
+
Object.defineProperty(exports, "Transaction", { enumerable: true, get: function () { return neo4j_driver_core_1.Transaction; } });
|
|
107
|
+
Object.defineProperty(exports, "ManagedTransaction", { enumerable: true, get: function () { return neo4j_driver_core_1.ManagedTransaction; } });
|
|
108
|
+
Object.defineProperty(exports, "bookmarkManager", { enumerable: true, get: function () { return neo4j_driver_core_1.bookmarkManager; } });
|
|
109
|
+
var neo4j_driver_bolt_connection_1 = require("neo4j-driver-bolt-connection");
|
|
110
|
+
var session_rx_1 = __importDefault(require("./session-rx"));
|
|
111
|
+
exports.RxSession = session_rx_1.default;
|
|
112
|
+
var transaction_rx_1 = __importDefault(require("./transaction-rx"));
|
|
113
|
+
exports.RxTransaction = transaction_rx_1.default;
|
|
114
|
+
var transaction_managed_rx_1 = __importDefault(require("./transaction-managed-rx"));
|
|
115
|
+
exports.RxManagedTransaction = transaction_managed_rx_1.default;
|
|
116
|
+
var result_rx_1 = __importDefault(require("./result-rx"));
|
|
117
|
+
exports.RxResult = result_rx_1.default;
|
|
118
|
+
var _a = neo4j_driver_core_1.internal.util, ENCRYPTION_ON = _a.ENCRYPTION_ON, assertString = _a.assertString, isEmptyObjectOrNull = _a.isEmptyObjectOrNull, ServerAddress = neo4j_driver_core_1.internal.serverAddress.ServerAddress, urlUtil = neo4j_driver_core_1.internal.urlUtil;
|
|
316
119
|
/**
|
|
317
120
|
* Construct a new Neo4j Driver. This is your main entry point for this
|
|
318
121
|
* library.
|
|
@@ -443,106 +246,95 @@ var _internal$util = _neo4jDriverCore.internal.util,
|
|
|
443
246
|
* @param {Object} config Configuration object. See the configuration section above for details.
|
|
444
247
|
* @returns {Driver}
|
|
445
248
|
*/
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
case 'neo4j+ssc':
|
|
481
|
-
encrypted = true;
|
|
482
|
-
trust = 'TRUST_ALL_CERTIFICATES';
|
|
483
|
-
routing = true;
|
|
484
|
-
break;
|
|
485
|
-
|
|
486
|
-
default:
|
|
487
|
-
throw new Error("Unknown scheme: ".concat(parsedUrl.scheme));
|
|
488
|
-
} // Encryption enabled on URL, propagate trust to the config.
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
if (encrypted) {
|
|
492
|
-
// Check for configuration conflict between URL and config.
|
|
493
|
-
if ('encrypted' in config || 'trust' in config) {
|
|
494
|
-
throw new Error('Encryption/trust can only be configured either through URL or config, not both');
|
|
249
|
+
function driver(url, authToken, config) {
|
|
250
|
+
if (config === void 0) { config = {}; }
|
|
251
|
+
assertString(url, 'Bolt URL');
|
|
252
|
+
var parsedUrl = urlUtil.parseDatabaseUrl(url);
|
|
253
|
+
// Determine entryption/trust options from the URL.
|
|
254
|
+
var routing = false;
|
|
255
|
+
var encrypted = false;
|
|
256
|
+
var trust;
|
|
257
|
+
switch (parsedUrl.scheme) {
|
|
258
|
+
case 'bolt':
|
|
259
|
+
break;
|
|
260
|
+
case 'bolt+s':
|
|
261
|
+
encrypted = true;
|
|
262
|
+
trust = 'TRUST_SYSTEM_CA_SIGNED_CERTIFICATES';
|
|
263
|
+
break;
|
|
264
|
+
case 'bolt+ssc':
|
|
265
|
+
encrypted = true;
|
|
266
|
+
trust = 'TRUST_ALL_CERTIFICATES';
|
|
267
|
+
break;
|
|
268
|
+
case 'neo4j':
|
|
269
|
+
routing = true;
|
|
270
|
+
break;
|
|
271
|
+
case 'neo4j+s':
|
|
272
|
+
encrypted = true;
|
|
273
|
+
trust = 'TRUST_SYSTEM_CA_SIGNED_CERTIFICATES';
|
|
274
|
+
routing = true;
|
|
275
|
+
break;
|
|
276
|
+
case 'neo4j+ssc':
|
|
277
|
+
encrypted = true;
|
|
278
|
+
trust = 'TRUST_ALL_CERTIFICATES';
|
|
279
|
+
routing = true;
|
|
280
|
+
break;
|
|
281
|
+
default:
|
|
282
|
+
throw new Error("Unknown scheme: ".concat(parsedUrl.scheme));
|
|
495
283
|
}
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
284
|
+
// Encryption enabled on URL, propagate trust to the config.
|
|
285
|
+
if (encrypted) {
|
|
286
|
+
// Check for configuration conflict between URL and config.
|
|
287
|
+
if ('encrypted' in config || 'trust' in config) {
|
|
288
|
+
throw new Error('Encryption/trust can only be configured either through URL or config, not both');
|
|
289
|
+
}
|
|
290
|
+
config.encrypted = ENCRYPTION_ON;
|
|
291
|
+
config.trust = trust;
|
|
292
|
+
}
|
|
293
|
+
// Sanitize authority token. Nicer error from server when a scheme is set.
|
|
294
|
+
authToken = authToken || {};
|
|
295
|
+
authToken.scheme = authToken.scheme || 'none';
|
|
296
|
+
// Use default user agent or user agent specified by user.
|
|
297
|
+
config.userAgent = config.userAgent || USER_AGENT;
|
|
298
|
+
var address = ServerAddress.fromUrl(parsedUrl.hostAndPort);
|
|
299
|
+
var meta = {
|
|
300
|
+
address: address,
|
|
301
|
+
typename: routing ? 'Routing' : 'Direct',
|
|
302
|
+
routing: routing
|
|
303
|
+
};
|
|
304
|
+
return new driver_1.Driver(meta, config, createConnectionProviderFunction());
|
|
305
|
+
function createConnectionProviderFunction() {
|
|
306
|
+
if (routing) {
|
|
307
|
+
return function (id, config, log, hostNameResolver) {
|
|
308
|
+
return new neo4j_driver_bolt_connection_1.RoutingConnectionProvider({
|
|
309
|
+
id: id,
|
|
310
|
+
config: config,
|
|
311
|
+
log: log,
|
|
312
|
+
hostNameResolver: hostNameResolver,
|
|
313
|
+
authToken: authToken,
|
|
314
|
+
address: address,
|
|
315
|
+
userAgent: config.userAgent,
|
|
316
|
+
routingContext: parsedUrl.query
|
|
317
|
+
});
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
else {
|
|
321
|
+
if (!isEmptyObjectOrNull(parsedUrl.query)) {
|
|
322
|
+
throw new Error("Parameters are not supported with none routed scheme. Given URL: '".concat(url, "'"));
|
|
323
|
+
}
|
|
324
|
+
return function (id, config, log) {
|
|
325
|
+
return new neo4j_driver_bolt_connection_1.DirectConnectionProvider({
|
|
326
|
+
id: id,
|
|
327
|
+
config: config,
|
|
328
|
+
log: log,
|
|
329
|
+
authToken: authToken,
|
|
330
|
+
address: address,
|
|
331
|
+
userAgent: config.userAgent
|
|
332
|
+
});
|
|
333
|
+
};
|
|
334
|
+
}
|
|
543
335
|
}
|
|
544
|
-
}
|
|
545
336
|
}
|
|
337
|
+
exports.driver = driver;
|
|
546
338
|
/**
|
|
547
339
|
* Verifies if the driver can reach a server at the given url.
|
|
548
340
|
*
|
|
@@ -553,196 +345,176 @@ function driver(url, authToken) {
|
|
|
553
345
|
* @returns {true} When the server is reachable
|
|
554
346
|
* @throws {Error} When the server is not reachable or the url is invalid
|
|
555
347
|
*/
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
case 4:
|
|
579
|
-
return _context.abrupt("return", true);
|
|
580
|
-
|
|
581
|
-
case 5:
|
|
582
|
-
_context.prev = 5;
|
|
583
|
-
_context.next = 8;
|
|
584
|
-
return nonLoggedDriver.close();
|
|
585
|
-
|
|
586
|
-
case 8:
|
|
587
|
-
return _context.finish(5);
|
|
588
|
-
|
|
589
|
-
case 9:
|
|
590
|
-
case "end":
|
|
591
|
-
return _context.stop();
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
}, _callee, null, [[1,, 5, 9]]);
|
|
595
|
-
}));
|
|
596
|
-
return _hasReachableServer.apply(this, arguments);
|
|
348
|
+
function hasReachableServer(url, config) {
|
|
349
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
350
|
+
var nonLoggedDriver;
|
|
351
|
+
return __generator(this, function (_a) {
|
|
352
|
+
switch (_a.label) {
|
|
353
|
+
case 0:
|
|
354
|
+
nonLoggedDriver = driver(url, { scheme: 'none', principal: '', credentials: '' }, config);
|
|
355
|
+
_a.label = 1;
|
|
356
|
+
case 1:
|
|
357
|
+
_a.trys.push([1, , 3, 5]);
|
|
358
|
+
return [4 /*yield*/, nonLoggedDriver.getNegotiatedProtocolVersion()];
|
|
359
|
+
case 2:
|
|
360
|
+
_a.sent();
|
|
361
|
+
return [2 /*return*/, true];
|
|
362
|
+
case 3: return [4 /*yield*/, nonLoggedDriver.close()];
|
|
363
|
+
case 4:
|
|
364
|
+
_a.sent();
|
|
365
|
+
return [7 /*endfinally*/];
|
|
366
|
+
case 5: return [2 /*return*/];
|
|
367
|
+
}
|
|
368
|
+
});
|
|
369
|
+
});
|
|
597
370
|
}
|
|
598
|
-
|
|
599
|
-
var USER_AGENT = 'neo4j-javascript/' +
|
|
371
|
+
exports.hasReachableServer = hasReachableServer;
|
|
372
|
+
var USER_AGENT = 'neo4j-javascript/' + version_1.default;
|
|
600
373
|
/**
|
|
601
374
|
* Object containing predefined logging configurations. These are expected to be used as values of the driver config's `logging` property.
|
|
602
375
|
* @property {function(level: ?string): object} console the function to create a logging config that prints all messages to `console.log` with
|
|
603
376
|
* timestamp, level and message. It takes an optional `level` parameter which represents the maximum log level to be logged. Default value is 'info'.
|
|
604
377
|
*/
|
|
605
|
-
|
|
606
378
|
var logging = {
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
379
|
+
console: function (level) {
|
|
380
|
+
return {
|
|
381
|
+
level: level,
|
|
382
|
+
logger: function (level, message) {
|
|
383
|
+
return console.log("".concat(global.Date.now(), " ").concat(level.toUpperCase(), " ").concat(message));
|
|
384
|
+
}
|
|
385
|
+
};
|
|
610
386
|
}
|
|
611
|
-
|
|
612
|
-
console.toString = function () {
|
|
613
|
-
return _console.toString();
|
|
614
|
-
};
|
|
615
|
-
|
|
616
|
-
return console;
|
|
617
|
-
}(function (level) {
|
|
618
|
-
return {
|
|
619
|
-
level: level,
|
|
620
|
-
logger: function logger(level, message) {
|
|
621
|
-
return console.log("".concat(global.Date.now(), " ").concat(level.toUpperCase(), " ").concat(message));
|
|
622
|
-
}
|
|
623
|
-
};
|
|
624
|
-
})
|
|
625
387
|
};
|
|
388
|
+
exports.logging = logging;
|
|
626
389
|
/**
|
|
627
390
|
* Object containing constructors for all neo4j types.
|
|
628
391
|
*/
|
|
629
|
-
|
|
630
|
-
exports.logging = logging;
|
|
631
392
|
var types = {
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
393
|
+
Node: neo4j_driver_core_1.Node,
|
|
394
|
+
Relationship: neo4j_driver_core_1.Relationship,
|
|
395
|
+
UnboundRelationship: neo4j_driver_core_1.UnboundRelationship,
|
|
396
|
+
PathSegment: neo4j_driver_core_1.PathSegment,
|
|
397
|
+
Path: neo4j_driver_core_1.Path,
|
|
398
|
+
Result: neo4j_driver_core_1.Result,
|
|
399
|
+
ResultSummary: neo4j_driver_core_1.ResultSummary,
|
|
400
|
+
Record: neo4j_driver_core_1.Record,
|
|
401
|
+
Point: neo4j_driver_core_1.Point,
|
|
402
|
+
Date: neo4j_driver_core_1.Date,
|
|
403
|
+
DateTime: neo4j_driver_core_1.DateTime,
|
|
404
|
+
Duration: neo4j_driver_core_1.Duration,
|
|
405
|
+
LocalDateTime: neo4j_driver_core_1.LocalDateTime,
|
|
406
|
+
LocalTime: neo4j_driver_core_1.LocalTime,
|
|
407
|
+
Time: neo4j_driver_core_1.Time,
|
|
408
|
+
Integer: neo4j_driver_core_1.Integer
|
|
648
409
|
};
|
|
410
|
+
exports.types = types;
|
|
649
411
|
/**
|
|
650
412
|
* Object containing string constants representing session access modes.
|
|
651
413
|
*/
|
|
652
|
-
|
|
653
|
-
exports.types = types;
|
|
654
414
|
var session = {
|
|
655
|
-
|
|
656
|
-
|
|
415
|
+
READ: driver_1.READ,
|
|
416
|
+
WRITE: driver_1.WRITE
|
|
657
417
|
};
|
|
418
|
+
exports.session = session;
|
|
658
419
|
/**
|
|
659
420
|
* Object containing functions to work with {@link Integer} objects.
|
|
660
421
|
*/
|
|
661
|
-
|
|
662
|
-
exports.session = session;
|
|
663
422
|
var integer = {
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
423
|
+
toNumber: neo4j_driver_core_1.toNumber,
|
|
424
|
+
toString: neo4j_driver_core_1.toString,
|
|
425
|
+
inSafeRange: neo4j_driver_core_1.inSafeRange
|
|
667
426
|
};
|
|
427
|
+
exports.integer = integer;
|
|
668
428
|
/**
|
|
669
429
|
* Object containing functions to work with spatial types, like {@link Point}.
|
|
670
430
|
*/
|
|
671
|
-
|
|
672
|
-
exports.integer = integer;
|
|
673
431
|
var spatial = {
|
|
674
|
-
|
|
432
|
+
isPoint: neo4j_driver_core_1.isPoint
|
|
675
433
|
};
|
|
434
|
+
exports.spatial = spatial;
|
|
676
435
|
/**
|
|
677
436
|
* Object containing functions to work with temporal types, like {@link Time} or {@link Duration}.
|
|
678
437
|
*/
|
|
679
|
-
|
|
680
|
-
exports.spatial = spatial;
|
|
681
438
|
var temporal = {
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
439
|
+
isDuration: neo4j_driver_core_1.isDuration,
|
|
440
|
+
isLocalTime: neo4j_driver_core_1.isLocalTime,
|
|
441
|
+
isTime: neo4j_driver_core_1.isTime,
|
|
442
|
+
isDate: neo4j_driver_core_1.isDate,
|
|
443
|
+
isLocalDateTime: neo4j_driver_core_1.isLocalDateTime,
|
|
444
|
+
isDateTime: neo4j_driver_core_1.isDateTime
|
|
445
|
+
};
|
|
446
|
+
exports.temporal = temporal;
|
|
447
|
+
/**
|
|
448
|
+
* Object containing functions to work with graph types, like {@link Node} or {@link Relationship}.
|
|
449
|
+
*/
|
|
450
|
+
var graph = {
|
|
451
|
+
isNode: neo4j_driver_core_1.isNode,
|
|
452
|
+
isPath: neo4j_driver_core_1.isPath,
|
|
453
|
+
isPathSegment: neo4j_driver_core_1.isPathSegment,
|
|
454
|
+
isRelationship: neo4j_driver_core_1.isRelationship,
|
|
455
|
+
isUnboundRelationship: neo4j_driver_core_1.isUnboundRelationship
|
|
688
456
|
};
|
|
457
|
+
exports.graph = graph;
|
|
689
458
|
/**
|
|
690
459
|
* @private
|
|
691
460
|
*/
|
|
692
|
-
|
|
693
|
-
exports.temporal = temporal;
|
|
694
461
|
var forExport = {
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
462
|
+
driver: driver,
|
|
463
|
+
hasReachableServer: hasReachableServer,
|
|
464
|
+
int: neo4j_driver_core_1.int,
|
|
465
|
+
isInt: neo4j_driver_core_1.isInt,
|
|
466
|
+
isPoint: neo4j_driver_core_1.isPoint,
|
|
467
|
+
isDuration: neo4j_driver_core_1.isDuration,
|
|
468
|
+
isLocalTime: neo4j_driver_core_1.isLocalTime,
|
|
469
|
+
isTime: neo4j_driver_core_1.isTime,
|
|
470
|
+
isDate: neo4j_driver_core_1.isDate,
|
|
471
|
+
isLocalDateTime: neo4j_driver_core_1.isLocalDateTime,
|
|
472
|
+
isDateTime: neo4j_driver_core_1.isDateTime,
|
|
473
|
+
isNode: neo4j_driver_core_1.isNode,
|
|
474
|
+
isPath: neo4j_driver_core_1.isPath,
|
|
475
|
+
isPathSegment: neo4j_driver_core_1.isPathSegment,
|
|
476
|
+
isRelationship: neo4j_driver_core_1.isRelationship,
|
|
477
|
+
isUnboundRelationship: neo4j_driver_core_1.isUnboundRelationship,
|
|
478
|
+
integer: integer,
|
|
479
|
+
Neo4jError: neo4j_driver_core_1.Neo4jError,
|
|
480
|
+
isRetryableError: neo4j_driver_core_1.isRetryableError,
|
|
481
|
+
auth: neo4j_driver_core_1.auth,
|
|
482
|
+
logging: logging,
|
|
483
|
+
types: types,
|
|
484
|
+
session: session,
|
|
485
|
+
error: neo4j_driver_core_1.error,
|
|
486
|
+
graph: graph,
|
|
487
|
+
spatial: spatial,
|
|
488
|
+
temporal: temporal,
|
|
489
|
+
Driver: driver_1.Driver,
|
|
490
|
+
Session: neo4j_driver_core_1.Session,
|
|
491
|
+
Transaction: neo4j_driver_core_1.Transaction,
|
|
492
|
+
ManagedTransaction: neo4j_driver_core_1.ManagedTransaction,
|
|
493
|
+
Result: neo4j_driver_core_1.Result,
|
|
494
|
+
RxSession: session_rx_1.default,
|
|
495
|
+
RxTransaction: transaction_rx_1.default,
|
|
496
|
+
RxManagedTransaction: transaction_managed_rx_1.default,
|
|
497
|
+
RxResult: result_rx_1.default,
|
|
498
|
+
ResultSummary: neo4j_driver_core_1.ResultSummary,
|
|
499
|
+
Plan: neo4j_driver_core_1.Plan,
|
|
500
|
+
ProfiledPlan: neo4j_driver_core_1.ProfiledPlan,
|
|
501
|
+
QueryStatistics: neo4j_driver_core_1.QueryStatistics,
|
|
502
|
+
Notification: neo4j_driver_core_1.Notification,
|
|
503
|
+
ServerInfo: neo4j_driver_core_1.ServerInfo,
|
|
504
|
+
Record: neo4j_driver_core_1.Record,
|
|
505
|
+
Node: neo4j_driver_core_1.Node,
|
|
506
|
+
Relationship: neo4j_driver_core_1.Relationship,
|
|
507
|
+
UnboundRelationship: neo4j_driver_core_1.UnboundRelationship,
|
|
508
|
+
Path: neo4j_driver_core_1.Path,
|
|
509
|
+
PathSegment: neo4j_driver_core_1.PathSegment,
|
|
510
|
+
Point: neo4j_driver_core_1.Point,
|
|
511
|
+
Integer: neo4j_driver_core_1.Integer,
|
|
512
|
+
Duration: neo4j_driver_core_1.Duration,
|
|
513
|
+
LocalTime: neo4j_driver_core_1.LocalTime,
|
|
514
|
+
Time: neo4j_driver_core_1.Time,
|
|
515
|
+
Date: neo4j_driver_core_1.Date,
|
|
516
|
+
LocalDateTime: neo4j_driver_core_1.LocalDateTime,
|
|
517
|
+
DateTime: neo4j_driver_core_1.DateTime,
|
|
518
|
+
bookmarkManager: neo4j_driver_core_1.bookmarkManager
|
|
746
519
|
};
|
|
747
|
-
|
|
748
|
-
exports["default"] = _default;
|
|
520
|
+
exports.default = forExport;
|