Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
f1fc7d6b
Kaydet (Commit)
f1fc7d6b
authored
Tem 05, 2018
tarafından
Mads Jensen
Kaydeden (comit)
Tim Graham
Tem 05, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Refs #26608 -- Removed unneeded name attribute in window functions.
üst
ab251fda
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
window.py
django/db/models/functions/window.py
+0
-11
No files found.
django/db/models/functions/window.py
Dosyayı görüntüle @
f1fc7d6b
...
...
@@ -8,14 +8,12 @@ __all__ = [
class
CumeDist
(
Func
):
function
=
'CUME_DIST'
name
=
'CumeDist'
output_field
=
FloatField
()
window_compatible
=
True
class
DenseRank
(
Func
):
function
=
'DENSE_RANK'
name
=
'DenseRank'
output_field
=
IntegerField
()
window_compatible
=
True
...
...
@@ -23,7 +21,6 @@ class DenseRank(Func):
class
FirstValue
(
Func
):
arity
=
1
function
=
'FIRST_VALUE'
name
=
'FirstValue'
window_compatible
=
True
...
...
@@ -53,24 +50,20 @@ class LagLeadFunction(Func):
class
Lag
(
LagLeadFunction
):
function
=
'LAG'
name
=
'Lag'
class
LastValue
(
Func
):
arity
=
1
function
=
'LAST_VALUE'
name
=
'LastValue'
window_compatible
=
True
class
Lead
(
LagLeadFunction
):
function
=
'LEAD'
name
=
'Lead'
class
NthValue
(
Func
):
function
=
'NTH_VALUE'
name
=
'NthValue'
window_compatible
=
True
def
__init__
(
self
,
expression
,
nth
=
1
,
**
extra
):
...
...
@@ -87,7 +80,6 @@ class NthValue(Func):
class
Ntile
(
Func
):
function
=
'NTILE'
name
=
'Ntile'
output_field
=
IntegerField
()
window_compatible
=
True
...
...
@@ -99,20 +91,17 @@ class Ntile(Func):
class
PercentRank
(
Func
):
function
=
'PERCENT_RANK'
name
=
'PercentRank'
output_field
=
FloatField
()
window_compatible
=
True
class
Rank
(
Func
):
function
=
'RANK'
name
=
'Rank'
output_field
=
IntegerField
()
window_compatible
=
True
class
RowNumber
(
Func
):
function
=
'ROW_NUMBER'
name
=
'RowNumber'
output_field
=
IntegerField
()
window_compatible
=
True
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment