Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashishk1331/orm
A simple orm for sqlite in python.
https://github.com/ashishk1331/orm
Last synced: about 1 month ago
JSON representation
A simple orm for sqlite in python.
- Host: GitHub
- URL: https://github.com/ashishk1331/orm
- Owner: ashishk1331
- Created: 2024-08-16T05:37:19.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-16T08:36:44.000Z (4 months ago)
- Last Synced: 2024-08-16T09:53:54.796Z (4 months ago)
- Language: Python
- Size: 118 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![Banner for ORM reponsibilities](banner.jpg)
## (Potential) Responsibilities of an ORM
- create database
- define tables
- define fields
- size/length
- nullable
- default values
- define foreign keys
- define indices
- define relationships
- many-to-many
- one-to-many
- one-to-one
- inverse relationships
- define stored procedures
- class inheritance
- create tables
- insert data
- convert data types
- validate data
- retrieve data
- support joins
- order results
- subqueries
- nested queries
- lazy loading
- eager loading
- update data
- by ID
- using filters
- delete data
- by ID
- using filters
- cascading operations
- bulk operations
- caching
- transactions
- commit
- rollback
- nested transactions
- support sqlite
- support MySQL
- support PostgreSQL
- support Oracle
- support MS SQL Server
- prevent SQL injection
- remain performant
- support multiple clients
- use multiple databases
- error handling
- logging