Database calls accept forwarded parameter arrays
- Status
- Fixed
- Fixed in
- v26.9.2
- Area
- -
- Source discussion
- https://forum.objo.dev/d/1036-selectsql-paramarray
- Last updated
- 2026-09-16
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Allow a reusable database helper to forward its captured ParamArray to parameterised SelectSQL, ExecuteSQL, and their asynchronous variants. Database methods will accept a fixed Object() parameter array alongside the existing inline ParamArray overload, so wrappers can centralise error handling and reconnection without manually preparing and type-switching every value.
Expose DatabaseException.IsConnectionFailure so applications can distinguish a dropped connection from query, constraint, or authentication failures before deciding whether to reconnect. Retry policy remains application-controlled because automatically retrying a write can duplicate a command whose server-side outcome is unknown.