Structure of most_common and least_common columns

This commit is contained in:
Simon Willison 2021-06-16 09:36:32 -07:00 committed by GitHub
commit fe1562e8a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -450,6 +450,21 @@ The ``_analyze_tables_`` table has the following schema::
PRIMARY KEY ([table], [column])
);
The ``most_common`` and ``least_common`` columns will contain nested JSON arrays of the most commond and least common values that look like this::
[
["Del Libertador, Av", 5068],
["Alberdi Juan Bautista Av.", 4612],
["Directorio Av.", 4552],
["Rivadavia, Av", 4532],
["Yerbal", 4512],
["Cosquín", 4472],
["Estado Plurinacional de Bolivia", 4440],
["Gordillo Timoteo", 4424],
["Montiel", 4360],
["Condarco", 4288]
]
.. _cli_inserting_data:
Inserting JSON data