Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend Result's API #673

Merged
merged 1 commit into from
Mar 9, 2022
Merged

Conversation

robsdedude
Copy link
Member

  • Introduce Result.fetch(n)
  • Revert Result.single() to be lenient again when not exactly one record is
    left in the stream.
    Partially reverts Result.single() throws error if not exactly one record #646
  • Add strict parameter to Result.single() to enable strict checking of the
    number of records in the stream.

@robsdedude robsdedude force-pushed the adjust-result-single branch from 9d48a28 to 5c70481 Compare March 8, 2022 13:12
 * Introduce `Result.fetch(n)`
 * Revert `Result.single()` to be lenient again when not exactly one record is
   left in the stream.
   Partially reverts neo4j#646
 * Add `strict` parameter to `Result.single()` to enable strict checking of the
   number of records in the stream.
@robsdedude robsdedude force-pushed the adjust-result-single branch from 5c70481 to ee7b78d Compare March 8, 2022 15:33
@robsdedude robsdedude merged commit efe8710 into neo4j:5.0 Mar 9, 2022
@robsdedude robsdedude deleted the adjust-result-single branch March 9, 2022 08:22
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.

1 participant