mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-06 16:48:24 +08:00
!133 update docs/zh/base/relations-query.md.
Merge pull request !133 from 疾浪/N/A
This commit is contained in:
commit
98cc384809
@ -250,7 +250,7 @@ public class Book implements Serializable {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
## 多对多 `@RelationManyToOne`
|
## 多对多 `@RelationManyToMany`
|
||||||
|
|
||||||
假设一个账户可以有多个角色,一个角色也可以有多个账户,他们是多对多的关系,需要通过中间件表 `tb_role_mapping` 来维护:
|
假设一个账户可以有多个角色,一个角色也可以有多个账户,他们是多对多的关系,需要通过中间件表 `tb_role_mapping` 来维护:
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user