Skip to content

Commit

Permalink
Added
Browse files Browse the repository at this point in the history
  • Loading branch information
SHABIN-K authored Oct 14, 2021
1 parent dbbff45 commit 23729f7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions database/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ async def add_user(id, user_name):
SESSION.commit()
else:
pass

async def full_userbase():
users = SESSION.query(Broadcast).all()
SESSION.close()
return users

async def query_msg():
try:
Expand Down

0 comments on commit 23729f7

Please sign in to comment.