I've this piece of code, it retrieves a list of 'Client' where FULL_NAME like a KEY I input.
[
{
id(pin):1
full_name(pin):"James Marius Bolord"
email(pin):"[email protected]"
phone(pin):"9832910293"
dob(pin):"1981-05-05"
location(pin):"REXDALE"
user_id(pin):1
},
{
id(pin):23
full_name(pin):"Carl Barard"
email(pin):"[email protected]"
phone(pin):"9832910293"
dob(pin):"1981-05-05"
location(pin):"REXDALE"
user_id(pin):1
},
{
id(pin):9
full_name(pin):"Tony Falape"
email(pin):"[email protected]"
phone(pin):"9832910293"
dob(pin):"1981-05-05"
location(pin):"REXDALE"
user_id(pin):1
}
]
Now I learn that you can make use of object by doing this:
const zoo = {
lion: '