Kaydet (Commit) f2dc6b3a authored tarafından Tim Graham's avatar Tim Graham Kaydeden (comit) GitHub

Removed unused InsertQuery.clone().

Unknown if it was ever needed.
üst 3b2db6ec
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment