tortoise / tortoise/tortoise-orm
raw query support
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5.6k
- Forks
- 516
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 9
Description
Is your feature request related to a problem? Please describe.
Although this is primarily an ORM, some supported way to run raw queries would be great for some edge cases where operating with the ORM abstractions is not enough. Ideally exposing the whole logic in tortoise/backend in a documented way.
Describe alternatives you've considered
encode/databases supports this via its SQLAlchemy support layer
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the existing logic under tortoise/backend and compare how encode/databases exposes raw queries through its SQLAlchemy support layer. Determine the scope of a documented raw-query interface across the supported backends. Done means users can run raw queries through a documented Tortoise ORM API for the stated edge cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100