removed SQLAlchemy ORM stuff

This commit is contained in:
0x01FE committed 2025-07-09 16:06:05 -05:00
1 parent 6dcb020bb5
commit e6d3f5c7b7
5 files changed
+60 -85

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
select
threads.name,
threads.forum
threads.id
from threads
where threads.forum_id = ?
;
+7
View File
@@ -0,0 +1,7 @@
select
users.id,
users.name,
users.passhash
from users
where users.name = ?
;
+7
View File
@@ -0,0 +1,7 @@
select
forum.name,
forum.id
from user_forums
inner join forums on user_forums.forum_id = forums.id
where user_forums.user_id = ?
;
+7
View File
@@ -0,0 +1,7 @@
insert into messages (
user,
thread,
content,
time
) values (?, ?, ?, ?)
;