mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
优化
This commit is contained in:
@@ -237,7 +237,7 @@ class Database(object):
|
|||||||
if limit in ['resolve', 'request']:
|
if limit in ['resolve', 'request']:
|
||||||
where = f' where {limit} = 1'
|
where = f' where {limit} = 1'
|
||||||
query += where
|
query += where
|
||||||
else:
|
elif valid:
|
||||||
where = f' where alive = 1'
|
where = f' where alive = 1'
|
||||||
query += where
|
query += where
|
||||||
logger.log('TRACE', f'获取{table_name}表中的所有数据')
|
logger.log('TRACE', f'获取{table_name}表中的所有数据')
|
||||||
|
|||||||
Reference in New Issue
Block a user