| 129 | |
| 130 | |
| 131 | class Pi(NumericOutputFieldMixin, Func): |
| 132 | function = "PI" |
| 133 | arity = 0 |
| 134 | |
| 135 | def as_oracle(self, compiler, connection, **extra_context): |
| 136 | return super().as_sql( |
| 137 | compiler, connection, template=str(math.pi), **extra_context |
| 138 | ) |
| 139 | |
| 140 | |
| 141 | class Power(NumericOutputFieldMixin, Func): |
no outgoing calls