mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #29048 -- Added **extra_context to database function as_vendor() methods.
This commit is contained in:
committed by
Tim Graham
parent
08f360355a
commit
83b04d4f88
@@ -34,7 +34,7 @@ class Div3Transform(models.Transform):
|
||||
lhs, lhs_params = compiler.compile(self.lhs)
|
||||
return '(%s) %%%% 3' % lhs, lhs_params
|
||||
|
||||
def as_oracle(self, compiler, connection):
|
||||
def as_oracle(self, compiler, connection, **extra_context):
|
||||
lhs, lhs_params = compiler.compile(self.lhs)
|
||||
return 'mod(%s, 3)' % lhs, lhs_params
|
||||
|
||||
|
||||
Reference in New Issue
Block a user