This commit is contained in:
2021-09-08 18:13:59 +02:00
parent c6e865eca1
commit 0ae59c644e
6 changed files with 113 additions and 38 deletions

View File

@ -120,7 +120,7 @@ UPDATE ${table.name}_t
#if (('foreignkey' in $column) and $column.foreignkey)
def get_${table.name}_by_${column.name}(user, token_info, ${column.name}Id=None):
return dbGetOne(user, token_info, {
return dbGetMany(user, token_info, {
"statement": """
SELECT
id