83 | | The oracle backend stores !TextFields as NCLOB columns, for which cx_Oracle requires some extra manipulation to fetch. This is automatically handled by !OracleQuerySet.resolve_columns. |
| 83 | The oracle backend stores !TextFields as NCLOB columns, for which cx_Oracle requires some extra manipulation to fetch. This is automatically handled by !OracleQuerySet.resolve_columns. Oracle also poses some limitations on the usage of LOB columns: |
| 84 | |
| 85 | * LOB columns may not be used as primary keys. |
| 86 | * LOB columns may not be used in indexes. |
| 87 | * LOB columns may not be used in a "SELECT DISTINCT" list. This means that attempting to use the !QuerySet.distinct method on a model that includes !TextField columns will result in an error. A workaround to this is to keep !TextFields out of any models that you foresee performing .distinct queries on, and to include the !TextFields in a related model instead. |