Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add one overload to Session.query to type queries of one single item (#…
…151) Add one overload to `Session.query()` to handle return types for a query of one single item. This helps with the specific case of querying a single model or column. For more than one item in the `query()` it seems that another plugin hook is the only option, as the return is not a plain `Tuple` but a `KeyedTuple`. This is what I found possible continuing the discussion in #149
- Loading branch information