0

I'm new to SqlAlchemy, and when I went to do a select I got this return
My code:

from models.Payments import Payments

dataAlreadyInserted = Payments.query.where(Payments.control_id.in_(['13663964','13663965'])).first()
print(dataAlreadyInserted)

My terminal:

<Payments 1>

I wanted it to return the first record. I searched and didn't find anything similar. Sorry for the bad english.

0 Answers0