add get_feeds method
This commit is contained in:
parent
1c105e6ba0
commit
a07011ced7
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue