代码内容 from Cat as cat inner join cat.mate as mate left outer join cat.kittens as kitten from Cat as cat left join cat.mate.kittens as kittens from Formula form full join form.parameter param
受支持的连接类型是从ANSI SQL中借鉴来的。 inner join(内连接) left outer join(左外连接) right outer join(右外连接) full join (全连接,并不常用)
语句inner join, left outer join 以及 right outer join 可以简写。
代码内容 from Cat as cat join cat.mate as mate left join cat.kittens as kitten