Skip to content

Instantly share code, notes, and snippets.

@wullemsb
Created October 27, 2022 18:13
//Fetch the data in unbuffered mode to avoid out-of-memory (https://github.com/DapperLib/Dapper#buffered-vs-unbuffered-readers)
foreach(var document in sqlConnection.Query<Document>(query,buffered:false))
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment