@@ -3,6 +3,8 @@ Known issues and limitations
3
3
============================
4
4
5
5
This 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.
6
8
7
9
Like any database, MongoDB has some particularities. Also keep in mind that
8
10
because MongoDB is a NoSQL database, it's impossible to implement SQL-specific
@@ -16,6 +18,13 @@ Model fields
16
18
:class: `~django.db.models.DurationField ` stores milliseconds rather than
17
19
microseconds.
18
20
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
+
19
28
Querying
20
29
========
21
30
@@ -47,23 +56,24 @@ Querying
47
56
Database functions
48
57
==================
49
58
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 `
67
77
68
78
- The ``tzinfo `` parameter of the :class: `~django.db.models.functions.Trunc `
69
79
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,
87
97
Caching
88
98
=======
89
99
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