Hacker News new | ask | show | jobs
by Aperocky 1360 days ago
Here's a python (pip) version of the same concept:

https://github.com/Aperocky/sqlitedao

https://pypi.org/project/sqlitedao

Same concept, huge speed boost to personal projects. ORM is great because you can abstract items in memory directly into persistence, and define the relation in programming language instead of SQL.

1 comments

This doesn't look the same at all. The point of flyweight seems to be use code generation based on sql code; sqlitedao seems to be more like a normal orm.