随笔分类 -  架构设计

程序的架构设计学习
摘要:postgreSQL 注意: # psycopg 2 驱动的连接字符串 #engine = create_engine('postgresql://post:geovindu@localhost:5433/TechnologyGame') #Session = sessionmaker(bind=e 阅读全文
posted @ 2025-03-06 23:02 ®Geovin Du Dream Park™ 阅读(5) 评论(0) 推荐(0) 编辑
摘要:mysql sql script: create table School 表 ( `SchoolId` char(5) NOT NULL comment'主鍵primary key,學校編號', `SchoolName` nvarchar(500) NOT NULL DEFAULT '' comm 阅读全文
posted @ 2025-02-21 00:33 ®Geovin Du Dream Park™ 阅读(5) 评论(0) 推荐(0) 编辑
摘要:领域层(Domain):定义了 School 实体类和 SchoolRepository 抽象基类,明确了业务实体和数据访问的契约。基础设施层(Infrastructure):通过 SQLAlchemy 实现了 SchoolRepository 类,负责与 SQLite 数据库进行交互,包括增删改查 阅读全文
posted @ 2025-02-19 22:12 ®Geovin Du Dream Park™ 阅读(8) 评论(0) 推荐(0) 编辑
摘要:项目结构: # encoding: utf-8 # 版权所有 2025 涂聚文有限公司 # 许可信息查看:言語成了邀功盡責的功臣,還需要行爲每日來值班嗎 # 描述: # Author : geovindu,Geovin Du 涂聚文. # IDE : PyCharm 2023.1 python 3. 阅读全文
posted @ 2025-02-15 04:05 ®Geovin Du Dream Park™ 阅读(4) 评论(0) 推荐(0) 编辑
摘要:postgresql sql: CREATE TABLE School ( SchoolId CHAR(5) PRIMARY KEY, -- 主键 SchoolName VARCHAR(500) NOT NULL, SchoolTelNo VARCHAR(8) NULL ); CREATE OR R 阅读全文
posted @ 2025-02-10 04:55 ®Geovin Du Dream Park™ 阅读(6) 评论(0) 推荐(0) 编辑
摘要:sql: -- 创建 School 表 CREATE TABLE School ( SchoolId CHAR(5) NOT NULL, SchoolName NVARCHAR2(500) NOT NULL, SchoolTelNo VARCHAR2(8) NULL, PRIMARY KEY (Sc 阅读全文
posted @ 2025-02-09 17:34 ®Geovin Du Dream Park™ 阅读(6) 评论(0) 推荐(0) 编辑
摘要:oracle sql script: drop table IF EXISTS GEOVINDU.School; create table GEOVINDU.School --創建表 ( SchoolId char(5) NOT NULL, -- SchoolName varchar(500) NO 阅读全文
posted @ 2024-12-24 20:34 ®Geovin Du Dream Park™ 阅读(6) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示