🏡K
вот пример, там есть в доке че нужно делать
Size: a a a
🏡K
🏡K
🏡K
🏡K
M
🏡K
🏡K
🏡K
🏡K
M
🏡K
M
ЕГ
const res = await this.repository
.createQueryBuilder('details')
.select('details.name')
.where('details.weight_g = :weight', { weight: 0 })
.orWhere('details.length_mm = :length', { length: 0 })
.orWhere('details.height_mm = :height', { height: 0 })
.orWhere('details.width_mm = :width', { width: 0 })
.orWhere('details.weight_g = :weight', { weight: null })
.orWhere('details.length_mm = :length', { length: null })
.orWhere('details.height_mm = :height', { height: null })
.orWhere('details.width_mm = :width', { width: null })
.orderBy('details.id', 'ASC')
.getOne();
console.log(res);
ЛС
ЛС
ЛС
ЕГ
ЛС
ЕГ
ЛС