KRP35NGEHSKKLQP522S7LNZN37U7Z23Q7CDTWQMRKS2NHSA6CKXQC
BUCBGGRUTH7HNAADSU24U4BPHPUY7QYB3KRZPIIDUERZTL3YNTZQC
ZI2RJOZ2HXBHX7L54BTSDKESY6NG5KBJLVHCNY7K7ZLGIUOIHQUQC
WYTMZJFYVKHR4QH7AV5JUNWXT6NAC5NNQNPZCQSDI6LGI7DVXFYAC
EDVJECDIUUOSU4TS2DCL25MJDR5RQG7PQVTYEM6R3B4SFGKSX6MAC
UCY5PVFCT2QIOGR47KFS4KBF2ZPHRBOAIOH6PJEVWCHLMBRBLOMQC
display_name as name,
product.display_name as name,
strain_family.name as strain_family,
strain_family.display_name as strain_family,
measurement_unit
measurement_unit, product_image.destination
measurement_unit,
product_image.destination
left outer join product_image on (product.id = product_image.product)--and product-image.featured = true
strain_family.id
strain_family.id, product_image.id --order by --product_image.rank
strain_family.id,
product_image.id
--order by
--product_image.rank
//todo: show terpenes, flavor. deal with online store being link.
json_agg(product_image.destination) as images,
strain_family.id;
strain_family.id --order by --product_image.rank