Re: [sqlalchemy] CheckConstraint in sqlalchemy-1.0.0dev

2015-02-27 Thread Christopher Singley
On Friday, 27 February 2015 09:52:36 UTC-6, Simon King wrote: On Fri, Feb 27, 2015 at 3:34 PM, Christopher Singley ch...@singleys.com javascript: wrote: I'm using the latest dev version of sqlalchemy against postgresql-9.4.1 I can't get SA to apply table-level CHECK constraints

[sqlalchemy] CheckConstraint compatibility

2010-05-19 Thread jose soares
Hi all, I have to create a constraint like this: CheckConstraint('data_start = CURRENT_DATE'), it works for PostgreSQL but it doesn't work for Oracle10. Is there some workaround to make it compatible with pg and oracle? j -- You received this message because you are subscribed to the

Re: [sqlalchemy] CheckConstraint compatibility

2010-05-19 Thread jo
Michael Bayer wrote: On May 19, 2010, at 5:34 AM, jose soares wrote: Hi all, I have to create a constraint like this: CheckConstraint('data_start = CURRENT_DATE'), it works for PostgreSQL but it doesn't work for Oracle10. Is there some workaround to make it compatible with pg and

[sqlalchemy] CheckConstraint

2006-10-27 Thread Alexandre CONRAD
Hello, I was reading about the CheckConstraint documentation, and it looks promising. The examples in the docs are doing contraint with integers. But the cool thing would be able to define you're own contrainsts using ConstraintTypes, or already have pre-defined constraints, ie.