12 2023 档案

摘要:注册数据库控制器最后,您需要将数据库控制器注册到应用程序中: import 'controller/user_controller.dart'; class YourAppChannel extends ApplicationChannel { ManagedContext context; @ov 阅读全文
posted @ 2023-12-25 11:00 pearlcity 阅读(4) 评论(0) 推荐(0) 编辑
摘要:问题: List lock = [ {'key': "id", 'title': 'ID', 'width': 'int(98 * width / 1920)', 'overflow': false}, {'key': "location", 'title': '门锁名称', 'width': 'i 阅读全文
posted @ 2023-12-19 13:18 pearlcity 阅读(9) 评论(0) 推荐(0) 编辑
摘要:定义表注释读取使用 users = await User.all().values() field_map = {field.model_field_name: field.description for field in User._meta.fields_map.values()} result 阅读全文
posted @ 2023-12-01 20:42 pearlcity 阅读(21) 评论(0) 推荐(0) 编辑