Methods
(async, inner) confirmTableOverwrite(tableName) → {Promise.<boolean>}
confirm overwrite of existing table
Parameters:
Name | Type | Description |
---|---|---|
tableName |
string | table name |
- Source:
Returns:
overwrite confirmation
- Type
- Promise.<boolean>
(async, inner) selectFiles(files) → {Promise.<Array.<{path:string, name:string, label:string}>>}
select json files to upload as a table to hubdb
Parameters:
Name | Type | Description |
---|---|---|
files |
Array.<FILE_LIST> | files |
- Source:
Returns:
selected files
- Type
- Promise.<Array.<{path:string, name:string, label:string}>>
(async, inner) selectTables(tables) → {Promise.<Array.<any>>}
select tables from account table list
Parameters:
Name | Type | Description |
---|---|---|
tables |
Array.<{name:string, id:string, published:boolean}> | hubdb tables |
- Source:
Returns:
selected tables
- Type
- Promise.<Array.<any>>