Hi all,

I'd need to create a partial index on a SQLite database
(http://www.sqlite.org/partialindex.html), but it seems that there's no
equivalent of "postgresql_where" on the sqlite dialect.

The need arises from wanting a unique constraint on a subset of the
dataset.

Other than properly implementing such support in the core (which I
eventually may end trying out), is there a more immediate way to
accomplish that?

I've read about DDL() and custom SQL constructs and that seems what I'm
seeking for, but I failed to see the interaction with my
declarative-based schema description.

Could you please point me in the right direction?

Thanks in advance,
ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
[email protected]  |                 -- Fortunato Depero, 1929.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to