Thursday, June 15, 2017

display a field from last updated row



Hi,
i am having trouble trying to figure this out. I have a table something as below. i want to write an sqlalchemy that query the table and then display  the email address from the row that was last updated. Please point me to the right direction to help me accomplished that.





fname lname email phone
tom jon tjon@mail.com 555
James peter tjon@mail.com 555
john kas tjon@mail.com 555
tom jon tjon@mail.com 555




--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPCf-y7j%2BQ_06ZJC5EckAQJUuK70D00Mq0ivC0PxVMHYchfW1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment