session is not the database.
you can save the transactionid into the session and update the db in the
controller.
e.g.
id = db.transactions.insert()
session.transaction = id
db(db.transactions.id == session.transaction).update(x=y)
or you can manage transaction record in the session and
On Thursday, February 9, 2012 3:10:52 AM UTC-5, scausten wrote:
Is is possible to hold a record in session, something like:
id = db.transactions.insert()
session.transaction = db.transactions[id]
and directly update_record the session.transaction,
2 matches
Mail list logo