database_module #17

Merged
Miroslavsckaya merged 20 commits from database_interaction into master 2022-05-29 20:19:18 +00:00
Showing only changes of commit a07011ced7 - Show all commits

View file

@ -37,9 +37,10 @@ class Database():
self.cur.execute('DELETE FROM feeds WHERE id = ?', (feed_id,))
self.conn.commit()
def get_feeds():
pass
def get_feeds(self) -> list:
self.cur.execute('SELECT * FROM feeds')
return self.cur.fetchall()
def get_users_subscribes():
pass