Releases: bhaveshdev09/sql-executor
Releases · bhaveshdev09/sql-executor
Release list
v0.1.0 — Initial release
Here First release of sql-executor: a backend-agnostic stored-procedure / SQL executor for SQL Server (pyodbc), built around a pluggable BaseSqlExecutor base class.
Features
BaseSqlExecutor— abstract base handling cursor lifecycle, commit/rollback, fetch-to-dict, chunked streaming, and error wrapping. New backends only implement_connect()and_call_procedure_sql().SqlServerExecutor— concrete SQL Server implementation via pyodbc.FakeExecutor— in-memory test double for unit tests, no real DB needed.DatabaseError— failures are always raised, never silently swallowed asNone/False.call_procedure(),execute(),stream(),stream_procedure()for stored procedures, raw SQL, and chunked large result sets.
Installation
```bash
pip install sql-executor
```
See the docs for usage and examples on adding a new backend.