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:
[x] basic generalized SQL parser
[x] SQL syntax tests for postgresql peculiarities
[x] basic exploration of batch concept
[x] "real" batch concept (UnifiedBatch, should work with/without DbBatch API)
[ ] codegen (including turn-off-and-onable)
[x] benchmark:
[ ] vanilla Dapper, parameterized single batch (Npgsql param rewrite)
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 possibletasks:
UnifiedBatch
, should work with/withoutDbBatch
API)