首页
Java
登录
6mi
u
盘
搜
搜 索
Java
rails 多表查询
rails 多表查询
xiaoxiao
2021-02-28
86
# 关联designer表中的 name 字段
scope
:name
, -> { joins(
:designer
).where.
not
(
'name ILIKE ?'
,
'%zs%'
) }
转载请注明原文地址: https://www.6miu.com/read-73949.html
技术
最新回复
(
0
)