I'm mapping a 'licensing' table into SQLObject and I'd like to have some
contraints and defaults involving two columns from the same table. One
client = ForeignCol('Client')
signDate = DateCol(default = sqlbuild.func.NOW())
expiresAt = DateCol(default = 'signDate' + '1 year')
How can I add a constraint so that I can always grant that 'signDate' <=
'expiresAt'? That's the SQL constraint 'CHECK' in PostgreSQL.
Jorge Godoy <godoy@...>
Get latest updates about Open Source Projects, Conferences and News.