per page, with , order by , clip by
Results of 1 - 1 of about 1 for chairs (0.001 sec.)
クエリ式 (Query Expression) 9414
クエリ式 (Query Expression) クエリ式 (query expression) は、update、create、filter、order by、annotation、またはaggregateの一部として使用できる値または計算を記述します。式が真偽値を出力する場合、フィルタで直接使用できます。クエリの記述に使用 ... import Length , Upper >>> from django.db.models.lookups import GreaterThan # Find companies that have more employees than chairs. >>> Company . objects . filter ( num_employees__gt = F ( "num_chairs" )) # Find companies that have at least twice as man ... y employees # as chairs. Both the querysets below are equivalent. >>> Company . objects . filter ( num_employees__gt = F ( "num_chairs" ) * 2 ) >> ... > Company . objects . filter ( num_employees__gt = F ( "num_chairs" ) + F ( "num_chairs" )) # How many chairs are needed for each company to seat all employees? >>> company = ( ... Company ...
https://man.mtool.work/django/6.1/ref/models/expressions.html
PREV 1 NEXT