We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3adb6a5 commit fd307ccCopy full SHA for fd307cc
psqlextra/compiler.py
@@ -20,7 +20,7 @@ def _form_returning(self):
20
"""Builds the RETURNING part of the query."""
21
22
qn = self.connection.ops.quote_name
23
- return 'RETURNING %s' % qn(self.query.model._meta.pk.name)
+ return ' RETURNING %s' % qn(self.query.model._meta.pk.name)
24
25
26
class PostgresInsertCompiler(SQLInsertCompiler):
0 commit comments