begin cli work

This commit is contained in:
2021-09-13 19:27:32 +02:00
parent 2ec6311ca9
commit 966ad7aee8
4 changed files with 114 additions and 0 deletions

5
cli/listTenants.py Normal file
View File

@ -0,0 +1,5 @@
from db import dbGetMany
def perform(dbh, params):
tenants = dbGetMany(dbh, { "statement": "SELECT * FROM tenant_t", "params": () })
print(tenants)