mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Corrected indentation in metadata.rst
This commit is contained in:
parent
5cf0c6c91c
commit
9e1fca4b01
1 changed files with 10 additions and 10 deletions
|
|
@ -123,20 +123,20 @@ You can also disable sorting entirely by setting ``"sortable_columns": []``
|
|||
|
||||
By default, database views in Datasette do not support sorting. You can use ``sortable_columns`` to enable specific sort orders for a view called ``name_of_view`` in the database ``my_database`` like so::
|
||||
|
||||
{
|
||||
"databases": {
|
||||
"my_database": {
|
||||
"tables": {
|
||||
"name_of_view": {
|
||||
"sortable_columns": [
|
||||
"clicks",
|
||||
"impressions"
|
||||
]
|
||||
{
|
||||
"databases": {
|
||||
"my_database": {
|
||||
"tables": {
|
||||
"name_of_view": {
|
||||
"sortable_columns": [
|
||||
"clicks",
|
||||
"impressions"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.. _label_columns:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue