@@ -12,16 +12,18 @@ Queryable Encryption with Django MongoDB Backend.
1212See the :doc: `/topics/queryable-encryption ` topic guide for
1313more information on developing applications with Queryable Encryption.
1414
15- The following fields are supported by Django MongoDB Backend for use with
15+ The following Django fields are supported by Django MongoDB Backend for use with
1616Queryable Encryption.
1717
1818+----------------------------------------+------------------------------------------------------+
1919| Encrypted Field | Django Field |
2020+========================================+======================================================+
21- | ``EncryptedBooleanField `` | :class: `~django.db.models.BooleanField ` |
22- +----------------------------------------+------------------------------------------------------+
2321| ``EncryptedBigIntegerField `` | :class: `~django.db.models.BigIntegerField ` |
2422+----------------------------------------+------------------------------------------------------+
23+ | ``EncryptedBinaryField `` | :class: `~django.db.models.BinaryField ` |
24+ +----------------------------------------+------------------------------------------------------+
25+ | ``EncryptedBooleanField `` | :class: `~django.db.models.BooleanField ` |
26+ +----------------------------------------+------------------------------------------------------+
2527| ``EncryptedCharField `` | :class: `~django.db.models.CharField ` |
2628+----------------------------------------+------------------------------------------------------+
2729| ``EncryptedDateField `` | :class: `~django.db.models.DateField ` |
@@ -52,13 +54,32 @@ Queryable Encryption.
5254+----------------------------------------+------------------------------------------------------+
5355| ``EncryptedURLField `` | :class: `~django.db.models.URLField ` |
5456+----------------------------------------+------------------------------------------------------+
57+ | ``EncryptedUUIDField `` | :class: `~django.db.models.UUIDField ` |
58+ +----------------------------------------+------------------------------------------------------+
5559
56- The following fields are supported by Django MongoDB Backend but are not
57- supported by Queryable Encryption.
60+ The following MongoDB-specific fields are supported by Django MongoDB Backend
61+ for use with Queryable Encryption.
62+
63+ +----------------------------------------+------------------------------------------------------+
64+ | Encrypted Field | MongoDB Field |
65+ +----------------------------------------+------------------------------------------------------+
66+ | ``EncryptedArrayField `` | :ref: `arrayfield ` |
67+ +----------------------------------------+------------------------------------------------------+
68+ | ``EncryptedEmbeddedModelArrayField `` | :ref: `embeddedmodelarrayfield ` |
69+ +----------------------------------------+------------------------------------------------------+
70+ | ``EncryptedEmbeddedModelField `` | :ref: `embeddedmodelfield ` |
71+ +----------------------------------------+------------------------------------------------------+
72+ | ``EncryptedObjectIdField `` | :ref: `objectidfield ` |
73+ +----------------------------------------+------------------------------------------------------+
74+
75+ The following fields are supported by Django MongoDB Backend but not by
76+ Queryable Encryption.
5877
59- +--------------------------------------+-----------------------------------------------+
60- | :class: `~django.db.models.SlugField ` | Indexes aren't supported on encrypted fields. |
61- +--------------------------------------+-----------------------------------------------+
78+ +--------------------------------------+--------------------------------------------------------------------------------------------------------------------+
79+ | Field | Limitation |
80+ +--------------------------------------+--------------------------------------------------------------------------------------------------------------------+
81+ | :class: `~django.db.models.SlugField ` | :ref: `Queryable Encryption does not support TTL Indexes or Unique Indexes <manual:qe-reference-encryption-limits >` |
82+ +--------------------------------------+--------------------------------------------------------------------------------------------------------------------+
6283
6384``EncryptedFieldMixin ``
6485=======================
0 commit comments