CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 09:13:01 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/"683281c518018a093b9e02c621aeb8b5"
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=3YkRAS%2B2DyDJdsCXTGJfRai6QdUMu%2BS4GE%2BKc%2FOk6EnAjdyBYlSCCwnrBDKYvrNns0BTmGl3XjWdZBSF2W784sY9VoOP6Xib%2FHWBFVPczxDKo4%2BaaFt%2FoC%2BdIqYqrMuSpCy1Uj9WcEwrcPCB%2B4P1VwoDs8SMSjrZFw7F0WLRFD3ZxIw3qhLen7NgmTr%2Bsw6v%2BGYSaLaN7GWNbiYNp77t44Zl8AwajjhFa4C4NED76BlQFIyc105RA7ORHzRJX6R063Gf0VyLIfzFgTor%2BFnb%2BA%3D%3D--hfEuX9ofMRVXeEBK--nsmvJqQLd8a0hRoFOXXUmA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.228587391.1753175580; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 09:13:00 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 09:13:00 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8010:23C3D6:433040:4B08EF:687F561C
Introduce `resultTransformer.summary` (#1201) · neo4j/neo4j-javascript-driver@50aa6aa · GitHub
⚠️ This API is released as preview.**
This function enables fetching only the summary of the Result. The result will be consumed and records won't be streamed.
Examples:
```javascript
// using in the execute query
const summary = await driver.executeQuery('MATCH (p:Person{ age: $age }) RETURN p.name as name', { age: 25 }, {
database: 'neo4j,
resultTransformer: neo4j.resultTransformers.summary()
})
```
**⚠️ This API is released as preview.**
Copy file name to clipboardExpand all lines: packages/core/src/result-transformers.ts
Copy file name to clipboardExpand all lines: packages/core/src/result.ts
Copy file name to clipboardExpand all lines: packages/core/test/result-transformers.test.ts
Copy file name to clipboardExpand all lines: packages/core/test/result.test.ts
Copy file name to clipboardExpand all lines: packages/neo4j-driver-deno/lib/core/result-transformers.ts
Copy file name to clipboardExpand all lines: packages/neo4j-driver-deno/lib/core/result.ts
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 152
Commit 50aa6aa
authored
Introduce
**resultTransformer.summary
(#1201)1 parent a7efcf7 commit 50aa6aaCopy full SHA for 50aa6aa
File tree
Expand file treeCollapse file tree
6 files changed
+230
-10
lines changedFilter options
- packages
- core
- src
- test
- neo4j-driver-deno/lib/core
Expand file treeCollapse file tree
6 files changed
+230
-10
lines changedpackages/core/src/result-transformers.ts
Copy file name to clipboardExpand all lines: packages/core/src/result-transformers.ts+24Lines changed: 24 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
| 24 | + | |
23 | 25 |
| |
24 | 26 |
| |
25 | 27 |
| |
| |||
181 | 183 |
| |
182 | 184 |
| |
183 | 185 |
| |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
184 | 204 |
| |
185 | 205 |
| |
186 | 206 |
| |
| |||
221 | 241 |
| |
222 | 242 |
| |
223 | 243 |
| |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + |
packages/core/src/result.ts
Copy file name to clipboardExpand all lines: packages/core/src/result.ts+9-4Lines changed: 9 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
| |||
182 | 183 |
| |
183 | 184 |
| |
184 | 185 |
| |
185 |
| - | |
| 186 | + | |
186 | 187 |
| |
187 | 188 |
| |
188 |
| - | |
| 189 | + | |
189 | 190 |
| |
190 |
| - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
191 | 194 |
| |
192 | 195 |
| |
193 | 196 |
| |
| |||
196 | 199 |
| |
197 | 200 |
| |
198 | 201 |
| |
199 |
| - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
200 | 205 |
| |
201 | 206 |
| |
202 | 207 |
| |
|
packages/core/test/result-transformers.test.ts
Copy file name to clipboardExpand all lines: packages/core/test/result-transformers.test.ts+163-1Lines changed: 163 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| |||
268 | 268 |
| |
269 | 269 |
| |
270 | 270 |
| |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
271 | 433 |
| |
272 | 434 |
| |
273 | 435 |
| |
|
packages/core/test/result.test.ts
Copy file name to clipboardExpand all lines: packages/core/test/result.test.ts+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
240 | 240 |
| |
241 | 241 |
| |
242 | 242 |
| |
243 |
| - | |
| 243 | + | |
244 | 244 |
| |
245 | 245 |
| |
246 | 246 |
| |
|
packages/neo4j-driver-deno/lib/core/result-transformers.ts
Copy file name to clipboardExpand all lines: packages/neo4j-driver-deno/lib/core/result-transformers.ts+24Lines changed: 24 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
| 24 | + | |
23 | 25 |
| |
24 | 26 |
| |
25 | 27 |
| |
| |||
181 | 183 |
| |
182 | 184 |
| |
183 | 185 |
| |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
184 | 204 |
| |
185 | 205 |
| |
186 | 206 |
| |
| |||
221 | 241 |
| |
222 | 242 |
| |
223 | 243 |
| |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + |
packages/neo4j-driver-deno/lib/core/result.ts
Copy file name to clipboardExpand all lines: packages/neo4j-driver-deno/lib/core/result.ts+9-4Lines changed: 9 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
| |||
182 | 183 |
| |
183 | 184 |
| |
184 | 185 |
| |
185 |
| - | |
| 186 | + | |
186 | 187 |
| |
187 | 188 |
| |
188 |
| - | |
| 189 | + | |
189 | 190 |
| |
190 |
| - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
191 | 194 |
| |
192 | 195 |
| |
193 | 196 |
| |
| |||
196 | 199 |
| |
197 | 200 |
| |
198 | 201 |
| |
199 |
| - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
200 | 205 |
| |
201 | 206 |
| |
202 | 207 |
| |
|
You can’t perform that action at this time.
0 commit comments