]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
- [bug] bulk_insert() fixes: rel_0_3_1
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 7 Apr 2012 22:00:42 +0000 (18:00 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 7 Apr 2012 22:00:42 +0000 (18:00 -0400)
commita7ada78d87aeb7383455b3935457950f1070d4b2
tree1ef5720cf920459d4120bab10c868002fa248e0b
parent456d364626bdbff1d3ded8499242f819b937e7f6
- [bug] bulk_insert() fixes:

    1. bulk_insert() operation was
       not working most likely since the 0.2 series
       when used with an engine. #41
    2. Repaired bulk_insert() to complete when
       used against a lower-case-t table and executing
       with only one set of parameters, working
       around SQLAlchemy bug #2461 in this regard.
    3. bulk_insert() uses "inline=True" so that phrases
       like RETURNING and such don't get invoked for
       single-row bulk inserts.
    4. bulk_insert() will check that you're passing
       a list of dictionaries in, raises TypeError
       if not detected.
CHANGES
alembic/__init__.py
alembic/ddl/impl.py
tests/__init__.py
tests/test_bulk_insert.py