mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-07 02:28:54 +08:00
#116 fix lint
This commit is contained in:
@@ -348,7 +348,8 @@ export default {
|
|||||||
this.addedTable = this.tableName
|
this.addedTable = this.tableName
|
||||||
// Inform about import success
|
// Inform about import success
|
||||||
period = time.getPeriod(start, end)
|
period = time.getPeriod(start, end)
|
||||||
importMsg.message = `Importing ${this.typeName} into a SQLite database is completed in ${period}.`
|
importMsg.message = `Importing ${this.typeName} ` +
|
||||||
|
`into a SQLite database is completed in ${period}.`
|
||||||
importMsg.type = 'success'
|
importMsg.type = 'success'
|
||||||
|
|
||||||
// Loading indicator for import is not needed anymore
|
// Loading indicator for import is not needed anymore
|
||||||
@@ -408,7 +409,8 @@ export default {
|
|||||||
return [
|
return [
|
||||||
'/*',
|
'/*',
|
||||||
` * Your NDJSON file has been imported into ${this.addedTable} table.`,
|
` * Your NDJSON file has been imported into ${this.addedTable} table.`,
|
||||||
` * Run this SQL query to get values of property ${firstKey} and make them available for charting.`,
|
` * Run this SQL query to get values of property ${firstKey} ` +
|
||||||
|
'and make them available for charting.',
|
||||||
' */',
|
' */',
|
||||||
`SELECT doc->>'${firstKey}'`,
|
`SELECT doc->>'${firstKey}'`,
|
||||||
`FROM "${this.addedTable}"`
|
`FROM "${this.addedTable}"`
|
||||||
@@ -431,7 +433,8 @@ export default {
|
|||||||
return [
|
return [
|
||||||
'/*',
|
'/*',
|
||||||
` * Your JSON file has been imported into ${this.addedTable} table.`,
|
` * Your JSON file has been imported into ${this.addedTable} table.`,
|
||||||
` * Run this SQL query to get values of property ${firstKey} and make them available for charting.`,
|
` * Run this SQL query to get values of property ${firstKey} ` +
|
||||||
|
'and make them available for charting.',
|
||||||
' */',
|
' */',
|
||||||
'SELECT *',
|
'SELECT *',
|
||||||
`FROM "${this.addedTable}"`,
|
`FROM "${this.addedTable}"`,
|
||||||
|
|||||||
Reference in New Issue
Block a user