A
A
albertalexandrov2019-07-27 21:52:45
Django
albertalexandrov, 2019-07-27 21:52:45

**extra for django.db.models.functions?

Hello everyone!)
Django has database functions: Coalesce, Cast, and so on. Some allow named arguments to be passed. For example:

class Coalesce(*expressions, **extra)

And this moment interests me. What named parameters can be fed there (not only in Coalesce)? I know, you can pass output_field.
It looks like I'm not entirely clear about the further transformation of ORM to SQL.
Please advise.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question