MCPcopy
hub / github.com/pyload/pyload / listUsers

Method listUsers

module/database/UserDatabase.py:88–93  ·  view source on GitHub ↗
(db)

Source from the content-addressed store, hash-verified

86
87 @style.queue
88 def listUsers(db):
89 db.c.execute('SELECT name FROM users')
90 users = []
91 for row in db.c:
92 users.append(row[0])
93 return users
94
95 @style.queue
96 def getAllUserData(db):

Callers 1

set_userMethod · 0.80

Calls 2

executeMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected