Hi there,
I am new to Phoenix and enjoying it so far. While working on a small project, I ran into an issue. I am hoping to get some help here.
I have a map as follows
[
%User{
email: "email1@example.com",
gender: "female",
username: "bluecat651",
password: "secret1",
phone: "(403)-344-8344"
},
%User{
email: "email2@example.com",
gender: "male",
username: "bluecat652",
password: "secret2",
phone: "(469)-111-8344"
}
]
I want to get the full map for gender = ‘male’ . What is the best way to do it?