Hello everyone,
Anybody?
I need to do smth like this in a mapper() call for table 'hosts':
'Earliest_reservation':relation(Reservation, order_by=Reservation.id,
backref='hosts'),
'Reservations':relation(Reservation,
secondary=reservation_hosts_assoc_table, backref='hosts')
That is, I need to c
Hello everyone,
I need to do smth like this in a mapper() call for table 'hosts':
'Earliest_reservation':relation(Reservation, order_by=Reservation.id,
backref='hosts'),
'Reservations':relation(Reservation,
secondary=reservation_hosts_assoc_table, backref='hosts')
That is, I need to create "l