@@ -3,6 +3,8 @@ Known issues and limitations
33============================
44
55This document summarizes some known issues and limitations of this library.
6+ If you notice an issue not listed, use the :ref: `issue-tracker ` to report a bug
7+ or request a feature.
68
79Like any database, MongoDB has some particularities. Also keep in mind that
810because MongoDB is a NoSQL database, it's impossible to implement SQL-specific
@@ -16,6 +18,13 @@ Model fields
1618 :class: `~django.db.models.DurationField ` stores milliseconds rather than
1719 microseconds.
1820
21+ - Some of Django's built-in fields aren't supported by MongoDB:
22+
23+ - :class: `~django.db.models.AutoField ` (including
24+ :class: `~django.db.models.BigAutoField ` and
25+ :class: `~django.db.models.SmallAutoField `)
26+ - :class: `~django.db.models.GeneratedField `
27+
1928Querying
2029========
2130
@@ -47,23 +56,24 @@ Querying
4756Database functions
4857==================
4958
50- - The following database functions aren't supported:
51- - :class: `~django.db.models.functions.Chr `
52- - :class: `~django.db.models.functions.ExtractQuarter `
53- - :class: `~django.db.models.functions.LPad `,
54- :class: `~django.db.models.functions.RPad `
55- - :class: `~django.db.models.functions.MD5 `
56- - :class: `~django.db.models.functions.Now `
57- - :class: `~django.db.models.functions.Ord `
58- - :class: `~django.db.models.functions.Repeat `
59- - :class: `~django.db.models.functions.Reverse `
60- - :class: `~django.db.models.functions.Right `
61- - :class: `~django.db.models.functions.SHA1 `,
62- :class: `~django.db.models.functions.SHA224 `,
63- :class: `~django.db.models.functions.SHA256 `,
64- :class: `~django.db.models.functions.SHA384 `,
65- :class: `~django.db.models.functions.SHA512 `
66- - :class: `~django.db.models.functions.Sign `
59+ - Some of Django's built-in database functions aren't supported by MongoDB:
60+
61+ - :class: `~django.db.models.functions.Chr `
62+ - :class: `~django.db.models.functions.ExtractQuarter `
63+ - :class: `~django.db.models.functions.LPad `,
64+ :class: `~django.db.models.functions.RPad `
65+ - :class: `~django.db.models.functions.MD5 `
66+ - :class: `~django.db.models.functions.Now `
67+ - :class: `~django.db.models.functions.Ord `
68+ - :class: `~django.db.models.functions.Repeat `
69+ - :class: `~django.db.models.functions.Reverse `
70+ - :class: `~django.db.models.functions.Right `
71+ - :class: `~django.db.models.functions.SHA1 `,
72+ :class: `~django.db.models.functions.SHA224 `,
73+ :class: `~django.db.models.functions.SHA256 `,
74+ :class: `~django.db.models.functions.SHA384 `,
75+ :class: `~django.db.models.functions.SHA512 `
76+ - :class: `~django.db.models.functions.Sign `
6777
6878- The ``tzinfo `` parameter of the :class: `~django.db.models.functions.Trunc `
6979 database functions doesn't work properly because MongoDB converts the result
@@ -87,6 +97,6 @@ Due to the lack of ability to introspect MongoDB collection schema,
8797Caching
8898=======
8999
90- :ref: `Database caching <database-caching >` is not supported since the built-in database cache backend
91- requires SQL. A custom cache backend for MongoDB will be provided in the
92- future.
100+ :ref: `Database caching <database-caching >` is not supported since the built-in
101+ database cache backend requires SQL. A custom cache backend for MongoDB will be
102+ provided in the future.
0 commit comments