service
if (shopId) queryBuilder.andWhere(:shopId IN (user.shopIds)
, { shopId })
if in DB user.shopIds.length=1 this ok. but length > 1 this not query
my entity
@Column(‘simple-array’, { nullable: true })
shopIds: string[]
New contributor
user26017695 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.