Skip to content

Conversation

@bigmontz
Copy link
Contributor

⚠️ 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:

// 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.

@bigmontz bigmontz force-pushed the 5.22/feature/result-transformer-summary branch from a5063b5 to dc062ce Compare June 19, 2024 14:55
bigmontz added 2 commits June 20, 2024 10:51
**⚠️ 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.**
@bigmontz bigmontz force-pushed the 5.22/feature/result-transformer-summary branch from dc062ce to 473ec52 Compare June 20, 2024 08:51
Copy link
Member

@robsdedude robsdedude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗜️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants