feat: 更新接口默认就是按照字段更新
This commit is contained in:
@@ -210,7 +210,7 @@ async def update(session: AsyncSessionDep, query_config, module_config, debug_da
|
||||
"error": "row parameter is missing",
|
||||
}
|
||||
|
||||
if update_by_fields:
|
||||
if not update_fields and update_by_fields:
|
||||
update_fields = row.keys()
|
||||
|
||||
row_id = get_value(row, 'id', None)
|
||||
|
||||
Reference in New Issue
Block a user