the duplicate_constraints marker in MySQL is “duplicates_index”, in the unique 
constraint record.  MySQL doesn’t actually have a “unique constraint” 
construct, they are all ultimately unique indexes.



> On Nov 14, 2014, at 2:35 PM, Jon Nelson <jnel...@jamponi.net> wrote:
> 
> While using 'Inspector' to introspect MySQL and PostgreSQL databases
> dialects, I've noticed some slight variation:
> 
> For MySQL, a UNIQUE table constraint also shows up as an Index (with
> unique=True).
> 
> Ditto PostgreSQL (as of 0.9.8).
> 
> Looking at the current HEAD, it appears that PostgreSQL has some
> support for additionally annotating indexes with
> 'duplicates_constraint', but there is no similar support for MySQL.
> 
> Will 'duplicates_constraint' support be added to MySQL as well?
> Will that appear in 0.9.9?
> 
> -- 
> Jon
> Software Blacksmith
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sqlalchemy+unsubscr...@googlegroups.com.
> To post to this group, send email to sqlalchemy@googlegroups.com.
> Visit this group at http://groups.google.com/group/sqlalchemy.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to