class Cos
from django.db.models.functions.math import Cos
Ancestors (MRO)
- builtins.object
- django.db.models.expressions.Combinable
- django.db.models.expressions.BaseExpression
- django.db.models.expressions.Expression
- django.db.models.expressions.SQLiteNumericMixin
- django.db.models.expressions.Func
- django.db.models.query_utils.RegisterLookupMixin
- django.db.models.lookups.Transform
- django.db.models.functions.mixins.NumericOutputFieldMixin
- django.db.models.functions.math.Cos
Attribute | Value | Defined in |
---|---|---|
ADD |
+ |
django.db.models.expressions.Combinable |
ADD |
+ |
django.db.models.expressions.Combinable |
BITAND |
& |
django.db.models.expressions.Combinable |
BITAND |
& |
django.db.models.expressions.Combinable |
BITLEFTSHIFT |
<< |
django.db.models.expressions.Combinable |
BITLEFTSHIFT |
<< |
django.db.models.expressions.Combinable |
BITOR |
| |
django.db.models.expressions.Combinable |
BITOR |
| |
django.db.models.expressions.Combinable |
BITRIGHTSHIFT |
>> |
django.db.models.expressions.Combinable |
BITRIGHTSHIFT |
>> |
django.db.models.expressions.Combinable |
BITXOR |
# |
django.db.models.expressions.Combinable |
BITXOR |
# |
django.db.models.expressions.Combinable |
DIV |
/ |
django.db.models.expressions.Combinable |
DIV |
/ |
django.db.models.expressions.Combinable |
MOD |
%% |
django.db.models.expressions.Combinable |
MOD |
%% |
django.db.models.expressions.Combinable |
MUL |
* |
django.db.models.expressions.Combinable |
MUL |
* |
django.db.models.expressions.Combinable |
POW |
^ |
django.db.models.expressions.Combinable |
POW |
^ |
django.db.models.expressions.Combinable |
SUB |
- |
django.db.models.expressions.Combinable |
SUB |
- |
django.db.models.expressions.Combinable |
allowed_default |
False |
django.db.models.expressions.BaseExpression |
allowed_default |
False |
django.db.models.expressions.BaseExpression |
arg_joiner |
, |
django.db.models.expressions.Func |
arg_joiner |
, |
django.db.models.expressions.Func |
arity |
1 |
django.db.models.lookups.Transform |
arity |
1 |
django.db.models.lookups.Transform |
arity |
None |
django.db.models.expressions.Func |
arity |
None |
django.db.models.expressions.Func |
bilateral |
False |
django.db.models.lookups.Transform |
bilateral |
False |
django.db.models.lookups.Transform |
empty_result_set_value |
NotImplemented |
django.db.models.expressions.BaseExpression |
empty_result_set_value |
NotImplemented |
django.db.models.expressions.BaseExpression |
filterable |
True |
django.db.models.expressions.BaseExpression |
filterable |
True |
django.db.models.expressions.BaseExpression |
function |
COS |
django.db.models.functions.math.Cos |
function |
COS |
django.db.models.functions.math.Cos |
function |
None |
django.db.models.expressions.Func |
function |
None |
django.db.models.expressions.Func |
get_lookups |
functools.partial(<functools._lru_cache_wrapper object at 0x7f10b31feae0>, <class 'django.db.models.query_utils.RegisterLookupMixin'>) |
django.db.models.query_utils.RegisterLookupMixin |
get_lookups |
functools.partial(<functools._lru_cache_wrapper object at 0x7f10b31feae0>, <class 'django.db.models.query_utils.RegisterLookupMixin'>) |
django.db.models.query_utils.RegisterLookupMixin |
is_summary |
False |
django.db.models.expressions.BaseExpression |
is_summary |
False |
django.db.models.expressions.BaseExpression |
lookup_name |
cos |
django.db.models.functions.math.Cos |
lookup_name |
cos |
django.db.models.functions.math.Cos |
register_lookup |
functools.partial(<function RegisterLookupMixin.register_class_lookup at 0x7f10b3208a60>, <class 'django.db.models.query_utils.RegisterLookupMixin'>) |
django.db.models.query_utils.RegisterLookupMixin |
register_lookup |
functools.partial(<function RegisterLookupMixin.register_class_lookup at 0x7f10b3208a60>, <class 'django.db.models.query_utils.RegisterLookupMixin'>) |
django.db.models.query_utils.RegisterLookupMixin |
template |
%(function)s(%(expressions)s) |
django.db.models.expressions.Func |
template |
%(function)s(%(expressions)s) |
django.db.models.expressions.Func |
window_compatible |
False |
django.db.models.expressions.BaseExpression |
window_compatible |
False |
django.db.models.expressions.BaseExpression |
def allowed_default(self)
django.db.models.expressions.Func
def as_sql(self, compiler, connection, function=None, template=None, arg_joiner=None, **extra_context)
django.db.models.expressions.Func
def as_sqlite(self, compiler, connection, **extra_context)
django.db.models.expressions.SQLiteNumericMixin
def asc(self, **kwargs)
django.db.models.expressions.BaseExpression
def bitand(self, other)
django.db.models.expressions.Combinable
def bitleftshift(self, other)
django.db.models.expressions.Combinable
def bitor(self, other)
django.db.models.expressions.Combinable
def bitrightshift(self, other)
django.db.models.expressions.Combinable
def bitxor(self, other)
django.db.models.expressions.Combinable
def conditional(self)
django.db.models.expressions.BaseExpression
def contains_aggregate(self)
django.db.models.expressions.BaseExpression
def contains_column_references(self)
django.db.models.expressions.BaseExpression
def contains_over_clause(self)
django.db.models.expressions.BaseExpression
def contains_subquery(self)
django.db.models.expressions.BaseExpression
def convert_value(self)
django.db.models.expressions.BaseExpression
def copy(self)
django.db.models.expressions.Func
def deconstruct(obj)
django.db.models.expressions.Func
def desc(self, **kwargs)
django.db.models.expressions.BaseExpression
def field(self)
django.db.models.expressions.BaseExpression
def flatten(self)
django.db.models.expressions.BaseExpression
def get_bilateral_transforms(self)
django.db.models.lookups.Transform
def get_class_lookups(self)
django.db.models.query_utils.RegisterLookupMixin
def get_db_converters(self, connection)
django.db.models.expressions.BaseExpression
def get_group_by_cols(self)
django.db.models.expressions.BaseExpression
def get_instance_lookups(self)
django.db.models.query_utils.RegisterLookupMixin
def get_lookup(self, lookup_name)
django.db.models.query_utils.RegisterLookupMixin
def get_refs(self)
django.db.models.expressions.BaseExpression
def get_source_expressions(self)
django.db.models.expressions.Func
def get_source_fields(self)
django.db.models.expressions.BaseExpression
def get_transform(self, lookup_name)
django.db.models.query_utils.RegisterLookupMixin
def identity(self)
django.db.models.expressions.Expression
def lhs(self)
django.db.models.lookups.Transform
def merge_dicts(dicts)
django.db.models.query_utils.RegisterLookupMixin
def output_field(self)
django.db.models.expressions.BaseExpression
def prefix_references(self, prefix)
django.db.models.expressions.BaseExpression
def register_class_lookup(cls, lookup, lookup_name=None)
django.db.models.query_utils.RegisterLookupMixin
def register_instance_lookup(self, lookup, lookup_name=None)
django.db.models.query_utils.RegisterLookupMixin
def relabeled_clone(self, change_map)
django.db.models.expressions.BaseExpression
def replace_expressions(self, replacements)
django.db.models.expressions.BaseExpression
def resolve_expression(self, query=None, allow_joins=True, reuse=None, summarize=False, for_save=False)
django.db.models.expressions.Func
def reverse_ordering(self)
django.db.models.expressions.BaseExpression
def select_format(self, compiler, sql, params)
django.db.models.expressions.BaseExpression
def set_source_expressions(self, exprs)
django.db.models.expressions.Func