This commit is contained in:
shmilylty
2019-08-14 02:39:34 +08:00
parent 88e084e695
commit aaf5863d9a
+1 -1
View File
@@ -24,7 +24,7 @@ def export(table, db=None, valid=None, path=None, format='xlsx', show=False):
Note: Note:
参数valid可选值1,0,None,分别表示导出有效,无效,全部子域 参数valid可选值1,0,None,分别表示导出有效,无效,全部子域
参数format可选格式:'csv', 'tsv', 'json', 'yaml', 'html', 'jira', 参数format可选格式:'csv', 'tsv', 'json', 'yaml', 'html', 'jira',
'xls', 'xlsx', 'dbf', 'latex', 'ods' 'xls', 'xlsx', 'dbf', 'latex', 'ods'
参数path为None会根据format参数和域名名称在项目结果目录生成相应文件 参数path为None会根据format参数和域名名称在项目结果目录生成相应文件
:param str table: 要导出的表 :param str table: 要导出的表