|
5 | 5 | ) |
6 | 6 | from django.db.models.expressions import When |
7 | 7 | from django.db.models.functions import ( |
8 | | - ACos, ASin, ATan, ATan2, Cast, Ceil, Coalesce, Collate, Cos, Cot, Degrees, |
9 | | - Exp, Floor, JSONArray, JSONObject, Ln, Log, Now, Radians, Round, Sin, Sqrt, |
10 | | - StrIndex, Tan, |
| 8 | + UUID4, ACos, ASin, ATan, ATan2, Cast, Ceil, Coalesce, Collate, Cos, Cot, |
| 9 | + Degrees, Exp, Floor, JSONArray, JSONObject, Ln, Log, Now, Radians, Round, |
| 10 | + Sin, Sqrt, StrIndex, Tan, |
11 | 11 | ) |
12 | 12 |
|
13 | 13 |
|
@@ -83,3 +83,4 @@ def register_functions(): |
83 | 83 | Round.as_cockroachdb = round_cast |
84 | 84 | StrIndex.as_cockroachdb = StrIndex.as_postgresql |
85 | 85 | When.as_cockroachdb = when |
| 86 | + UUID4.as_cockroachdb = UUID4.as_postgresql |
0 commit comments