mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
You can now explicitly set which columns in a table can be used for sorting
using the _sort and _sort_desc arguments using metadata.json:
{
"databases": {
"database1": {
"tables": {
"example_table": {
"sortable_columns": [
"height",
"weight"
]
}
}
}
}
}
Refs #189
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| auto-build.sh | ||
| changelog.rst | ||
| conf.py | ||
| custom_templates.rst | ||
| getting_started.rst | ||
| index.rst | ||
| json_api.rst | ||
| Makefile | ||
| metadata.rst | ||
| sql_queries.rst | ||