Skip to content

Commit

Permalink
fix FE example for numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Sep 25, 2023
1 parent 02cd0c4 commit 0365a03
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ export function DatabaseTables<T extends DatabaseSceneRow>({
// TODO: Use `hogql` tag?
query: `SELECT ${obj.columns
.filter(({ table, fields, chain }) => !table && !fields && !chain)
.map(({ key }) => key)} FROM ${table} LIMIT 100`,
.map(({ key }) => key)} FROM ${
table === 'numbers' ? 'numbers(0, 10)' : table
} LIMIT 100`,
},
}
return (
Expand Down

0 comments on commit 0365a03

Please sign in to comment.