How can I get the record from a data collection, when I know the value of one record item.
I got a data collection with 3 objects when I use the script:
logos.data.data.pull
(where logos is my data I recieved form the model).
Object
1490973011819:{logo_id: “1” ,logo_url: “oba-logo-roodzwart”, status: “act”}
1490973011820:{logo_id: “2”, logo_url: “oba-logo-witroodwit”, status: “act”}
1490973011821:{logo_id: “3”, logo_url: “oba-logo-zwart” status: “act”}
Object Prototype
I know the logo_url and I need the logo_id