39 lines
1.3 KiB
JSON
39 lines
1.3 KiB
JSON
{
|
|
"db_name": "SQLite",
|
|
"query": "\n\t\tSELECT\n\t\t\tdaily.played_on AS \"date!: String\",\n\t\t\tSUM(daily.played_seconds) AS \"played_seconds!: i64\",\n\t\t\tSUM(daily.session_count) AS \"session_count!: i64\",\n\t\t\t(\n\t\t\t\tSELECT candidate.instance_name\n\t\t\t\tFROM instance_daily_playtime candidate\n\t\t\t\tWHERE candidate.played_on = daily.played_on\n\t\t\t\t\tAND candidate.played_seconds > 0\n\t\t\t\tORDER BY candidate.played_seconds DESC, candidate.instance_name ASC\n\t\t\t\tLIMIT 1\n\t\t\t) AS \"top_instance_name?: String\"\n\t\tFROM instance_daily_playtime daily\n\t\tWHERE daily.played_on BETWEEN ? AND ?\n\t\tGROUP BY daily.played_on\n\t\tORDER BY daily.played_on\n\t\t",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "date!: String",
|
|
"ordinal": 0,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "played_seconds!: i64",
|
|
"ordinal": 1,
|
|
"type_info": "Null"
|
|
},
|
|
{
|
|
"name": "session_count!: i64",
|
|
"ordinal": 2,
|
|
"type_info": "Null"
|
|
},
|
|
{
|
|
"name": "top_instance_name?: String",
|
|
"ordinal": 3,
|
|
"type_info": "Text"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 2
|
|
},
|
|
"nullable": [
|
|
false,
|
|
null,
|
|
null,
|
|
false
|
|
]
|
|
},
|
|
"hash": "c202748e82d8a91d5e1644c8762cec73095e860c35693af4f87c4357611cab03"
|
|
}
|