AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
# 定义关联 > 译者:[飞龙](https://github.com/wizardforcel) > 来源:[Defining Associations](https://github.com/dresende/node-orm2/wiki/Defining-Associations) 关联是一个或多个[模型之间](3. Defining Models.md)的关系。 关联的类型: + [hasOne(多对一)](4.1 hasOne.md) + [hasMany(多对多)](4.2 hasMany.md) + [extendsTo(一对一)](4.3 extendsTo.md)