A partial unique index allows to constrain only a subset of the records in a table. This post shows an example how to implement a partial unique constraint with SQLAlchemy.
more ...A partial unique index allows to constrain only a subset of the records in a table. This post shows an example how to implement a partial unique constraint with SQLAlchemy.
more ...Small example how to print out a SQLAlchemy query with parameters being expanded.
more ...A wrap up of a simple fixture for py.test which creates a test database based on SQLAlchemy.
more ...An example how to use plain SQL to migrate data in a database using Alembic.
more ...