On Sep 14, 2012, at 4:55 AM, Ranjith Ramachandra wrote:
> I am using sqlalchemy as ORM
>
> I have a class like this:
>
> class Token(Base):
> __tablename__ = 'token_table'
> id = Column(Integer, primary_key=True, autoincrement=True)
> token = Column(Unicode(300), unique=True)
>
I am using sqlalchemy as ORM
I have a class like this:
class Token(Base):
__tablename__ = 'token_table'
id = Column(Integer, primary_key=True, autoincrement=True)
token = Column(Unicode(300), unique=True)
last_accessed = Column(DateTime,
onupdate=datet