neo4j-go-driver icon indicating copy to clipboard operation
neo4j-go-driver copied to clipboard

add Records method to ResultWithContext

Open jordan-bonecutter opened this issue 1 year ago • 0 comments

With the introduction of go 1.23 it would be useful to add support for an iter.Seq from the ResultWithContext type to avoid allocating memory on the order of the size of the results. This PR adds a Records method returning an iter.Seq2[*Record, error] which allows the user to for loop over the records in a ResultWithContext.

jordan-bonecutter avatar Aug 28 '24 01:08 jordan-bonecutter