h0rn3t / fastapi-async-sqlalchemy

FastAPI Async SQLAlchemy middleware
MIT License
136 stars 10 forks source link

Add outside of a route example #6

Closed jonra1993 closed 1 year ago

jonra1993 commented 1 year ago

This PR adds some comments on documentation so developers can know how to use db context outside of a route.

codecov[bot] commented 1 year ago

Codecov Report

Merging #6 (e026942) into main (0087b9f) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##              main        #6   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines           68        68           
=========================================
  Hits            68        68           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

h0rn3t commented 1 year ago

thanks