| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
by different versions of different DBAPI libraries.
|
| | |
|
| |
|
|
| |
on the warning so just dump it
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
- simplify
|
| |\ |
|
| | | |
|
| | |
| |
| |
| | |
before checking if it is a subclass of `MutableComposite`
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
target :class:`.Column` has been reworked to be as
immediate as possible, based on the moment that the
target :class:`.Column` is associated with the same
:class:`.MetaData` as this :class:`.ForeignKey`, rather
than waiting for the first time a join is constructed,
or similar. This along with other improvements allows
earlier detection of some foreign key configuration
issues. Also included here is a rework of the
type-propagation system, so that
it should be reliable now to set the type as ``None``
on any :class:`.Column` that refers to another via
:class:`.ForeignKey` - the type will be copied from the
target column as soon as that other column is associated,
and now works for composite foreign keys as well.
[ticket:1765]
|
| | | |
|
| |\ \
| | |
| | | |
Fix unique constraints reflection in SQLite and PostgreSQL
|
| | | |
| | |
| | |
| | | |
Reflection of unique constraints must preserve the order of columns.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
If SQLite keywords are used as column names, they are
quoted. The code parsing the information about table
unique constraints should be modified so that it properly
removes double-quotes from column names.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Call eq_() in a loop instead of comparing two lists
directly. This makes it much easier to find out which
element is not equal to the reference value.
|
| |\ \ \
| |/ /
|/| | |
Fix unicode literals on Python 3.1 and 3.2
|
| |/ /
| |
| |
| |
| | |
A few tests use u'' unicode literals which are not
supported in Python versions 3.1 and 3.2.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
called :attr:`.TypeDecorator.coerce_to_is_types`,
to make it easier to control how comparisons using
``==`` or ``!=`` to ``None`` and boolean types goes
about producing an ``IS`` expression, or a plain
equality expression with a bound parameter.
[ticket:2744]
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
- some whitespace
|
| | |
| |
| |
| |
| |
| | |
("C", whatever that means,
cannot find meaning of this anywhere in Postgresql documentation) seems to work
|
| |\ \
| |/
|/| |
Support for Postgres range types.
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
http://www.postgresql.org/docs/9.2/interactive/functions-range.html
|
| | | |
|
| |\ \
| | |
| | | |
Forgot final check that a delete in a backref also doesn't create a new version
|
| | | |
| | |
| | |
| | | |
follow up to https://bitbucket.org/zzzeek/sqlalchemy/pull-request/2
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
passes in AliasedInsp and allows more flexibility.
- rework the AliasedClass/AliasedInsp relationship so that AliasedInsp has
all state and functionality. AliasedClass is just a facade.
[ticket:2756]
|
| | | | |
|
| | | | |
|
| | | | |
|
| |\ \ \
| |/ / |
|
| | |\ \
| | | |
| | | | |
don't create a history entry when an object in a backref has changed
|
| | | | |
| | | |
| | | |
| | | | |
The code that determines whether an object in a relation has been added/removed does not take into account that that relation may be a backref. If the relation is a backref, then nothing on the current table is changing, and therefore no history entry should be created.
|
| |/ / / |
|
| | | |
| | |
| | |
| | |
| | | |
- for the moment, put a catch in it to see if we can trap that issue
on jenkins
|
| | | |
| | |
| | |
| | | |
- docs
|
| |\ \ \
| | | |
| | | | |
Add AUTOCOMMIT isolation level support for psycopg2
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
One can use this to emit statements, which can not be
executed within a transaction (e. g. CREATE DATABASE):
from sqlalchemy import create_engine
eng = create_engine('postgresql://test:test@localhost/test')
conn = eng.connect().execution_options(isolation_level='AUTOCOMMIT')
conn.execute('CREATE DATABASE test2;')
Fixes issue #2072.
|
| |/ /
| |
| |
| |
| |
| |
| | |
entities against the same base class joined to each other as well
would not track columns on the base table independently of each other if
the string of joins were more than two entities long. Also in 0.8.2.
[ticket:2759]
|
| | | |
|