Given the following sess query:
sess = DBSession()
reg = sess.query(Registration,Schedule).join(Schedule,Registration.classcode==Schedule.classcode).filter(Registration.registration_no==reg_id)
How the heck do I address the fields in the result 'reg'?
reg.timeofentry throws an error: TypeError: Can't convert 'int' object to str implicitly
I am rapidly learning to loath SQLAlchemy for all it's cryptic wrappers around perfectly simply SQL syntaxes.