mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Only inspect first 100 records for #562
This commit is contained in:
parent
50287e7c6b
commit
ba5414f16b
1 changed files with 1 additions and 1 deletions
|
|
@ -295,7 +295,7 @@ class ArrayFacet(Facet):
|
|||
# Now sanity check that first 100 arrays contain only strings
|
||||
first_100 = await self.ds.execute(
|
||||
self.database,
|
||||
"select {column} from ({sql}) where {column} is not null".format(
|
||||
"select {column} from ({sql}) where {column} is not null limit 100".format(
|
||||
column=escape_sqlite(column), sql=self.sql
|
||||
),
|
||||
self.params,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue