Skip to content

Commit e695aab

Browse files
authored
Update README.md
1 parent c071a0e commit e695aab

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,36 @@ if __name__ == "__main__":
2626
print(select(NameTable).where(NameTable.id > 1))
2727

2828
```
29+
30+
## Why SQLTable
31+
As a fan of __SQLModel__ I was fond of the way it worked over just sqlalchemy but as
32+
I started using it more, I noticed many flaws as well as a large amount of unrequired spaghetti-code.
33+
As I started to dig out the problems I was experiencing such as lag in load-times, relationships not
34+
loading into the json responses as well as the slow response times to pull requests I finally decided
35+
enough was enough and If I would be honest I am kinda glad I found msgspec soon after to satisfy this
36+
slowness as well as cut time-consumptions down. Originally I was going to develop my own library called
37+
[CyClass](https://github.com/Vizonex/Cyclass) due to the difficulty of wrapping msgspec to sqlalchemy but
38+
as time rolled on I began to find many intresting results as well as better solutions to my problems
39+
and so now here we are, another successful library that I relate a lot to my first challenge which was winloop.
40+
And If I am going to be fair, why write a class twice when you could only do it once with SQLTable?
41+
42+
There still maybe cases where you might need SQLModel still so I will see about thinking of ways you could use
43+
both of them at the same time.
44+
45+
I hope SQLTable will be the future of databases and I can't wait to see what you, other people as
46+
well as what companies big and small will end up doing with it.
47+
48+
SQLTable still has a long way to go and I plan to make a way to use `AsyncAttrs` with it.
49+
50+
51+
## TODOs
52+
- [ ] Pypi Release
53+
- [ ] Youtube Presentation (Maybe if I am up to it mentally)
54+
55+
56+
57+
58+
59+
60+
61+

0 commit comments

Comments
 (0)