@@ -516,6 +516,8 @@ dict of a list of lists :meth:`~django_excel.ExcelMixin.get_book_dict`
516516database table :meth: `~django_excel.ExcelMixin.save_to_database ` :meth: `~django_excel.make_response_from_a_table `
517517a list of database tables :meth: `~django_excel.ExcelMixin.save_book_to_database ` :meth: `~django_excel.make_response_from_tables `
518518a database query sets :meth: `~django_excel.make_response_from_query_sets `
519+ a generator for records :meth: `~django_excel.ExcelMixin.iget_records `
520+ a generator of lists :meth: `~django_excel.ExcelMixin.iget_array `
519521=========================== ======================================================== ===================================================
520522
521523See more examples of the data structures in :ref: `pyexcel documentation<pyexcel:a-list-of-data-structures> `
@@ -541,6 +543,12 @@ API Reference
541543 :param keywords: additional keywords to pyexcel library
542544 :returns: a two dimensional array, a list of lists
543545
546+ .. method :: iget_array(sheet_name=None, **keywords)
547+
548+ :param sheet_name: same as :meth: `~django_excel.ExcelMixin.get_sheet `
549+ :param keywords: additional keywords to pyexcel library
550+ :returns: a generator for a two dimensional array, a list of lists
551+
544552.. method :: get_dict(sheet_name=None, name_columns_by_row=0, **keywords)
545553
546554 :param sheet_name: same as :meth: `~django_excel.ExcelMixin.get_sheet `
@@ -555,6 +563,13 @@ API Reference
555563 :param keywords: additional keywords to pyexcel library
556564 :returns: a list of dictionary of the file content
557565
566+ .. method :: iget_records(sheet_name=None, name_columns_by_row=0, **keywords)
567+
568+ :param sheet_name: same as :meth: `~django_excel.ExcelMixin.get_sheet `
569+ :param name_columns_by_row: uses the first row of the sheet to be record field names by default.
570+ :param keywords: additional keywords to pyexcel library
571+ :returns: a generator for a list of dictionary of the file content
572+
558573.. method :: get_book(**keywords)
559574
560575 :param keywords: additional keywords to pyexcel library
@@ -579,6 +594,11 @@ API Reference
579594 :param mapdicts: a list of explicit table column names if your excel data sheets do not have the exact column names
580595 :param keywords: additional keywords to :meth: `pyexcel.Book.save_to_django_models `
581596
597+ .. method :: free_resources()
598+
599+ It should be called after iget_array and iget_records were used
600+
601+
582602Response methods
583603-----------------
584604
0 commit comments