Mar-13-2019, 08:45 PM
I'd guess its the Pins.query.filter which is filtering your records (like a where clause in the sql).
[0] just points to the first returned record... assuming it exists.
[0] just points to the first returned record... assuming it exists.