kresimirgalic
05/29/2022, 8:50 PMquery.gt('salary.min', 5000);
but this doesnt work, i have JSONB save liked this
salary: {
min: 10000,
max: 12000
}Needle
05/29/2022, 8:50 PMgaryaustin
05/29/2022, 8:54 PMNeedle
05/29/2022, 8:54 PMSteve
05/31/2022, 4:30 PMjs
query.gt('salary->min', 5000);
Arrows are used to get json fields, even on pure SQL.