Removed unused InsertQuery.clone().

Unknown if it was ever needed.
This commit is contained in:
Tim Graham 2016-10-13 16:58:43 -04:00 committed by GitHub
parent 3b2db6ec12
commit f2dc6b3a99
1 changed files with 0 additions and 9 deletions

View File

@ -182,15 +182,6 @@ class InsertQuery(Query):
self.fields = []
self.objs = []
def clone(self, klass=None, **kwargs):
extras = {
'fields': self.fields[:],
'objs': self.objs[:],
'raw': self.raw,
}
extras.update(kwargs)
return super(InsertQuery, self).clone(klass, **extras)
def insert_values(self, fields, objs, raw=False):
"""
Set up the insert query from the 'insert_values' dictionary. The