nyazoom/.sqlx/query-809dc67b2a48f747107e8afde9aafb5f4f8ce1c2956e59b65a06aeddcb53353a.json
2025-01-13 03:00:22 -08:00

38 lines
947 B
JSON

{
"db_name": "SQLite",
"query": "SELECT\n id,\n cache_name,\n downloads >= max_downloads AS \"out_of_downloads: bool\",\n julianday('now') - julianday(uploaded) > 5 AS \"too_old: bool\"\nFROM records\nWHERE downloads >= max_downloads OR julianday('now') - julianday(uploaded) > 5;\n",
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Integer"
},
{
"name": "cache_name",
"ordinal": 1,
"type_info": "Text"
},
{
"name": "out_of_downloads: bool",
"ordinal": 2,
"type_info": "Integer"
},
{
"name": "too_old: bool",
"ordinal": 3,
"type_info": "Integer"
}
],
"parameters": {
"Right": 0
},
"nullable": [
false,
false,
false,
false
]
},
"hash": "809dc67b2a48f747107e8afde9aafb5f4f8ce1c2956e59b65a06aeddcb53353a"
}