DapperLib / DapperAOT

Build time tools in the flavor of Dapper
Other
349 stars 19 forks source link

Npgsql parameter rewrite #78

Open mgravell opened 8 months ago

mgravell commented 8 months ago

There are two parameter models in Npgsql - ordinal and nominal; we use nominal, but the ordinal API is much more efficient; we could ingest nominal const sql and rewrite it as ordinal

this should include splitting semi-colon multi-statements into DbBatch when possible

tasks:

mgravell commented 8 months ago

longer version of the work definition for this item (from Dapper thread): https://github.com/DapperLib/Dapper/issues/1782#issuecomment-1671618871