Introduction
This backend provides a SQL Server-specific field for use in models.
Fields
BigAutoField
BigAutoField is an AutoField that uses bigint as the storage type.
To use:
from sqlserver_ado.fields import BigAutoField
and then use BigAutoField like any other Model field.
BigIntegerField
BigIntegerField is an Integer fields that uses bigint as the storage type.
While there is a long-standing Django request open for a cross-database big integer field, the patch hasn't landed and isn't in scope for Django 1.1.
To use:
from sqlserver_ado.fields import BigIntegerField
and then use BigIntegerField like any other Model field.
BigForeignKey
BigForeignKey is a ForeignKey that uses bigint as the storage type.
If your (legacy) database using bigints for primary keys, then you'll need to replace any introspected ForeignKey fields with BigForeignKey for things to work as expected.