npgsql / doc

Documentation site for npgsql
http://npgsql.org/
26 stars 74 forks source link

docs: Update NpgsqlBatch usage example #304

Closed ShuLaPy closed 11 months ago

ShuLaPy commented 11 months ago

In the Npgsql documentation, replaced the usage of cmd.ExecuteReaderAsync() with batch.ExecuteReaderAsync() to match the latest NpgsqlBatch API. This ensures that the documentation reflects the correct usage of NpgsqlBatch for executing commands and reading results.