Merge branch 'feature/dashboard-management'
This commit is contained in:
commit
841e8d656d
|
|
@ -384,14 +384,14 @@ function generateSampleQueryResult(query: string): QueryResult {
|
||||||
// rowCount: rows.length,
|
// rowCount: rows.length,
|
||||||
// sampleRow: rows[0],
|
// sampleRow: rows[0],
|
||||||
// allRows: rows,
|
// allRows: rows,
|
||||||
fieldTypes: {
|
// fieldTypes: {
|
||||||
month: typeof rows[0].month,
|
// month: typeof rows[0].month,
|
||||||
galaxy_sales: typeof rows[0].galaxy_sales,
|
// galaxy_sales: typeof rows[0].galaxy_sales,
|
||||||
iphone_sales: typeof rows[0].iphone_sales,
|
// iphone_sales: typeof rows[0].iphone_sales,
|
||||||
other_sales: typeof rows[0].other_sales
|
// other_sales: typeof rows[0].other_sales
|
||||||
},
|
// },
|
||||||
firstFewRows: rows.slice(0, 3),
|
// firstFewRows: rows.slice(0, 3),
|
||||||
lastFewRows: rows.slice(-3)
|
// lastFewRows: rows.slice(-3)
|
||||||
// });
|
// });
|
||||||
return {
|
return {
|
||||||
columns,
|
columns,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue