33 lines
1.3 KiB
JSON
33 lines
1.3 KiB
JSON
{
|
|
"db_name": "SQLite",
|
|
"query": "\n SELECT id AS \"id!: i64\", title AS \"title!: String\", year\n FROM movies\n WHERE id IN (\n SELECT m.id\n FROM movies m\n JOIN roots root ON root.id = m.root_id\n WHERE root.audience = 'kids'\n AND m.wanted = 1 AND m.blocked = 0 AND m.state = 'missing'\n AND m.search_attempts > 0\n AND NOT EXISTS (\n SELECT 1 FROM movie_releases mr\n JOIN releases r ON r.id = mr.release_id\n WHERE mr.movie_id = m.id AND r.verdict IN ('eligible', 'waived')\n )\n )\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "id!: i64",
|
|
"ordinal": 0,
|
|
"type_info": "Integer"
|
|
},
|
|
{
|
|
"name": "title!: String",
|
|
"ordinal": 1,
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"name": "year",
|
|
"ordinal": 2,
|
|
"type_info": "Integer"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 0
|
|
},
|
|
"nullable": [
|
|
true,
|
|
false,
|
|
true
|
|
]
|
|
},
|
|
"hash": "9bad020cbe19c8c5d5f0888c1f21cfd20b095d56b961b67e8599c3a0e8b9770e"
|
|
}
|