Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

clean up has_bulk_insert #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion django_informixdb/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


class DatabaseFeatures(BaseDatabaseFeatures):
has_bulk_insert = False
has_bulk_insert = False # informix does not have a bulk insert query
can_use_chunked_reads = True
supports_microsecond_precision = False
supports_regex_backreferencing = False
Expand Down
5 changes: 0 additions & 5 deletions django_informixdb/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,3 @@ def sql_flush(self, style, tables, sequences, allow_cascade=False):
style.SQL_FIELD(self.quote_name(table))
) for table in tables]
return sql

#def bulk_insert_sql(self, fields, placeholder_rows):
# placeholder_rows_sql = (", ".join(row) for row in placeholder_rows)
# values_sql = ", ".join("(%s)" % sql for sql in placeholder_rows_sql)
# return "VALUES " + values_sql