I am developing a small project and I have a very simple question, if I have in DB a few records, for example these:
{
{ 'name':'nombre1',
'edad':'22'
},
{ 'name':'nombre2',
'edad':'23'
},
{ 'name':'nombre3',
'edad':'24'
},
}
How can I do to select the last record, which in this case would be the one with the name 'name 3'?
Thank you very much.