1. Michael Manfre
  2. django-mssql
  3. Issues


Issue #17 resolved

Add support for can_return_id_from_insert

Michael Manfre
repo owner created an issue

To avoid the timing related problems and performance issues of fetching the insert identity with an additional query, support for can_return_id_from_insert should be added.

Related to https://code.djangoproject.com/ticket/19096

Comments (3)

  1. Michael Manfre reporter

    Fixed #17 - Added support for can_return_id_from_insert

    This is enabled by default and disabled if the SQL version is detected as SQL Server 2000. Implementation for Django < 1.5 will inject a comment containing the quoted table name and column name. This comment is not present in Django 1.5, compliments of Django ticket #19096.

    → <<cset 0b87f6763339>>

  2. Log in to comment