CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 03:08:43 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/neo4j/neo4j-javascript-driver.git
etag: W/"d34f62d525eb3ad3fb5c7586d7855ffe"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=TyQooUGgW%2B9CzoI5vGUi9GWmENf1OieXMBWyeLzTQ0zOqyolzWhRKXKrdjW6816UKqj1r%2FKd660J9tyOj8Z5YVoRaKUytEz%2FwzuV4t3JfJnH7N9GPnH%2BpmmsUuLDcUm7UQeoecmBusVjpu5lHX3oI8OWYmVXZv4oRg8fdcKobpoiM7nCeHrwDMCiVSm5f5kK9NIRqY7vgoAuztZozJgoX0g7kobGezp7NkAvVsagLmy1r3mk8uDhX%2F%2Btvyg6PulGVZoUvpgVCRYf3uDE6tbSWw%3D%3D--HATBHdGw2nmI3gWJ--wDI0DuX9qT11ofMrJz8BtA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1971049514.1753153722; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 03:08:42 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 03:08:42 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A8C2:3CADF0:B5F91:1093A0:687F00BA
Introduce `transactionConfig` to `Driver.executeQuery` (#1160) · neo4j/neo4j-javascript-driver@04e41a3 · GitHub
Copy file name to clipboardExpand all lines: packages/core/src/driver.ts
Copy file name to clipboardExpand all lines: packages/core/src/internal/query-executor.ts
Copy file name to clipboardExpand all lines: packages/core/test/driver.test.ts
Copy file name to clipboardExpand all lines: packages/core/test/internal/query-executor.test.ts
Copy file name to clipboardExpand all lines: packages/neo4j-driver-deno/lib/core/driver.ts
Copy file name to clipboardExpand all lines: packages/neo4j-driver-deno/lib/core/internal/query-executor.ts
Copy file name to clipboardExpand all lines: packages/testkit-backend/src/request-handlers.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 152
Commit 04e41a3
authored
Transaction config enables the user to configure timeouts and set metadata for the transaction.
This configuration is already present in APIs such as `Session.executeRead` and `Session.executeWrite`.
Usage example:
```typescript
const { records } = await driver.executeQuery(myQuery, myParams, {
database: 'neo4j',
transactionConfig: {
timeout: 3000,
metadata: { key: 'value' }
}
})
```
1 parent f58a089 commit 04e41a3Copy full SHA for 04e41a3
File tree
Expand file treeCollapse file tree
7 files changed
+86
-16
lines changedFilter options
- packages
- core
- src
- internal
- test
- internal
- neo4j-driver-deno/lib/core
- internal
- testkit-backend/src
Expand file treeCollapse file tree
7 files changed
+86
-16
lines changedpackages/core/src/driver.ts
Copy file name to clipboardExpand all lines: packages/core/src/driver.ts+13-3Lines changed: 13 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| |||
357 | 357 |
| |
358 | 358 |
| |
359 | 359 |
| |
| 360 | + | |
360 | 361 |
| |
361 | 362 |
| |
362 | 363 |
| |
| |||
402 | 403 |
| |
403 | 404 |
| |
404 | 405 |
| |
405 |
| - | |
| 406 | + | |
406 | 407 |
| |
407 | 408 |
| |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
408 | 417 |
| |
409 | 418 |
| |
410 | 419 |
| |
| |||
569 | 578 |
| |
570 | 579 |
| |
571 | 580 |
| |
572 |
| - | |
| 581 | + | |
| 582 | + | |
573 | 583 |
| |
574 | 584 |
| |
575 | 585 |
| |
|
packages/core/src/internal/query-executor.ts
Copy file name to clipboardExpand all lines: packages/core/src/internal/query-executor.ts+4-3Lines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
| 36 | + | |
36 | 37 |
| |
37 | 38 |
| |
38 | 39 |
| |
| |||
59 | 60 |
| |
60 | 61 |
| |
61 | 62 |
| |
62 |
| - | |
| 63 | + | |
63 | 64 |
| |
64 | 65 |
| |
65 | 66 |
| |
|
packages/core/test/driver.test.ts
Copy file name to clipboardExpand all lines: packages/core/test/driver.test.ts+9-2Lines changed: 9 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
| 20 | + | |
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| |||
469 | 469 |
| |
470 | 470 |
| |
471 | 471 |
| |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
472 | 478 |
| |
473 | 479 |
| |
474 | 480 |
| |
| |||
482 | 488 |
| |
483 | 489 |
| |
484 | 490 |
| |
485 |
| - | |
| 491 | + | |
| 492 | + | |
486 | 493 |
| |
487 | 494 |
| |
488 | 495 |
| |
|
packages/core/test/internal/query-executor.test.ts
Copy file name to clipboardExpand all lines: packages/core/test/internal/query-executor.test.ts+34Lines changed: 34 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
31 | 37 |
| |
32 | 38 |
| |
33 | 39 |
| |
| |||
87 | 93 |
| |
88 | 94 |
| |
89 | 95 |
| |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
90 | 110 |
| |
91 | 111 |
| |
92 | 112 |
| |
| |||
229 | 249 |
| |
230 | 250 |
| |
231 | 251 |
| |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
232 | 266 |
| |
233 | 267 |
| |
234 | 268 |
| |
|
packages/neo4j-driver-deno/lib/core/driver.ts
Copy file name to clipboardExpand all lines: packages/neo4j-driver-deno/lib/core/driver.ts+13-3Lines changed: 13 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| |||
357 | 357 |
| |
358 | 358 |
| |
359 | 359 |
| |
| 360 | + | |
360 | 361 |
| |
361 | 362 |
| |
362 | 363 |
| |
| |||
402 | 403 |
| |
403 | 404 |
| |
404 | 405 |
| |
405 |
| - | |
| 406 | + | |
406 | 407 |
| |
407 | 408 |
| |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
408 | 417 |
| |
409 | 418 |
| |
410 | 419 |
| |
| |||
569 | 578 |
| |
570 | 579 |
| |
571 | 580 |
| |
572 |
| - | |
| 581 | + | |
| 582 | + | |
573 | 583 |
| |
574 | 584 |
| |
575 | 585 |
| |
|
packages/neo4j-driver-deno/lib/core/internal/query-executor.ts
Copy file name to clipboardExpand all lines: packages/neo4j-driver-deno/lib/core/internal/query-executor.ts+4-3Lines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
| 36 | + | |
36 | 37 |
| |
37 | 38 |
| |
38 | 39 |
| |
| |||
59 | 60 |
| |
60 | 61 |
| |
61 | 62 |
| |
62 |
| - | |
| 63 | + | |
63 | 64 |
| |
64 | 65 |
| |
65 | 66 |
| |
|
packages/testkit-backend/src/request-handlers.js
Copy file name to clipboardExpand all lines: packages/testkit-backend/src/request-handlers.js+9-2Lines changed: 9 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
676 | 676 |
| |
677 | 677 |
| |
678 | 678 |
| |
679 |
| - | |
| 679 | + | |
680 | 680 |
| |
681 | 681 |
| |
682 | 682 |
| |
683 |
| - | |
| 683 | + | |
684 | 684 |
| |
685 | 685 |
| |
686 | 686 |
| |
| |||
696 | 696 |
| |
697 | 697 |
| |
698 | 698 |
| |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
699 | 706 |
| |
700 | 707 |
| |
701 | 708 |
| |
|
You can’t perform that action at this time.
0 commit comments