GET API in Node.js with search, filter, sort & pagination | CRUD API in node.js (part-2)

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

how to get a value form objects with 3key filters. example
cars:[
{
color: "red",
price:"25000",
variant: "petrol",
brand: "BMW",
speed:"100mph",
model:"320d"
},

{
color: "red",
price:"45000",
variant: "petrol",
brand: "BMW",
speed:"200mph",
model:"720d"
},
{
color: "red",
price:"35000",
variant: "petrol",
brand: "BMW",
speed:"150mph",
model:"520d"
},
]

in this example I want 3 filters one for Color, and one for Variant and one for Brand. how to filter to get the values in single API... please explain me.

anandpalanisamy_ap
Автор

Good job!
Please, can you provide with us the link to your codes?

apulibaatawine
Автор

How can I count searched data only not all data

statusvedios
Автор

bhai mere pass call krro isi me kuch puchna h please solve my issue

amitmishra