@@ -343,7 +343,9 @@ dict of a list of lists :meth:`~django_excel.ExcelMixin.get_book_dict`
343343:class:`pyexcel.Sheet` :meth:`~django_excel.ExcelMixin.get_sheet` :meth:`~django_excel.make_response`
344344:class:`pyexcel.Book` :meth:`~django_excel.ExcelMixin.get_book` :meth:`~django_excel.make_response`
345345database table :meth:`~django_excel.ExcelMixin.save_to_database` :meth:`~django_excel.make_response_from_a_table`
346+ :meth:`~django_excel.ExcelMixin.isave_to_database`
346347a list of database tables :meth:`~django_excel.ExcelMixin.save_book_to_database` :meth:`~django_excel.make_response_from_tables`
348+ :meth:`~django_excel.ExcelMixin.isave_book_to_database`
347349a database query sets :meth:`~django_excel.make_response_from_query_sets`
348350a generator for records :meth:`~django_excel.ExcelMixin.iget_records`
349351a generator of lists :meth:`~django_excel.ExcelMixin.iget_array`
@@ -413,13 +415,27 @@ a generator of lists :meth:`~django_excel.ExcelMixin.iget_array`
413415 :param mapdict: the explicit table column names if your excel data do not have the exact column names
414416 :param keywords: additional keywords to :meth:`pyexcel.Sheet.save_to_django_model`
415417
418+ .. method:: isave_to_database(model=None, initializer=None, mapdict=None, **keywords)
419+
420+ similar to :meth:`~django_excel.ExcelMixin.save_to_database`. But it requires
421+ less memory.
422+
423+ This requires column names must be at the first row.
424+
416425.. method:: save_book_to_database(models=None, initializers=None, mapdicts=None, **keywords)
417426
418427 :param models: a list of django models
419428 :param initializers: a list of model initialization functions.
420429 :param mapdicts: a list of explicit table column names if your excel data sheets do not have the exact column names
421430 :param keywords: additional keywords to :meth:`pyexcel.Book.save_to_django_models`
422431
432+ .. method:: isave_book_to_database(models=None, initializers=None, mapdicts=None, **keywords)
433+
434+ similar to :meth:`~django_excel.ExcelMixin.save_book_to_database`. But it requires
435+ less memory.
436+
437+ This requires column names must be at the first row in each sheets.
438+
423439.. method:: free_resources()
424440
425441 It should be called after iget_array and iget_records were used
0 commit comments