mirror of
https://github.com/maplibre/martin.git
synced 2024-12-20 21:31:49 +03:00
021cddcccd
After some thinking, it seems `mbtiles summary` (aliased as `mbtiles info`) would be a bit better than stats. I renamed and adjusted documentation, consolidating it in one doc page. Other changes: * use file system's file size, reporting 'unknown' if needed * report page count * moved bbox computation into a separate function * inlined a number of things for readability
21 lines
356 B
JSON
21 lines
356 B
JSON
{
|
|
"db_name": "SQLite",
|
|
"query": "PRAGMA page_count;",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "page_count",
|
|
"ordinal": 0,
|
|
"type_info": "Int"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 0
|
|
},
|
|
"nullable": [
|
|
null
|
|
]
|
|
},
|
|
"hash": "73b5d12b379c0fb2d8560d99653729d96dd1288005f47872c6a79b5bbf1ca8de"
|
|
}
|