Skip to main content

Module executor

Module executor 

Source
Expand description

Query dispatch via QueryTarget — the runtime contract between generated code and the pool/connection/transaction.

Code generated by bsql::query! converts the user-supplied executor into a QueryTarget via Into, then calls query_raw / query_raw_readonly / execute_raw on it. This enum dispatch replaces the old Executor trait and eliminates Mutex from PoolConnection and Transaction.

Structs§

OwnedResult
Owned query result that carries its arena alongside the result metadata.

Enums§

QueryTarget
Concrete enum for query dispatch. Replaces the Executor trait.