gorm访问SQLite
摘要:场景1:连接db并访问 # 创建数据库表 .open test.db create table student(id int primary key not null, name char(10) not null, age int not null); # 下载go依赖 go get gorm.i
阅读全文
posted @ 2024-12-14 00:35
posted @ 2024-12-14 00:35
posted @ 2024-12-13 21:10