Files
komp_ac/.sqlx/query-b9a9b9655040f8d6d636ca4f30fda3732b5d70afac9025fa136dfb6f47c7bde2.json
2026-08-19 14:53:01 +02:00

65 lines
1.6 KiB
JSON

{
"db_name": "PostgreSQL",
"query": "SELECT sd.source_table_id, sd.target_table_id, st.table_name as source_table, tt.table_name as target_table\n FROM script_dependencies sd\n JOIN table_definitions st ON sd.source_table_id = st.id\n JOIN table_definitions tt ON sd.target_table_id = tt.id\n WHERE st.schema_id = $1",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "source_table_id",
"type_info": "Int8",
"origin": {
"Table": {
"table": "script_dependencies",
"name": "source_table_id"
}
}
},
{
"ordinal": 1,
"name": "target_table_id",
"type_info": "Int8",
"origin": {
"Table": {
"table": "script_dependencies",
"name": "target_table_id"
}
}
},
{
"ordinal": 2,
"name": "source_table",
"type_info": "Text",
"origin": {
"Table": {
"table": "table_definitions",
"name": "table_name"
}
}
},
{
"ordinal": 3,
"name": "target_table",
"type_info": "Text",
"origin": {
"Table": {
"table": "table_definitions",
"name": "table_name"
}
}
}
],
"parameters": {
"Left": [
"Int8"
]
},
"nullable": [
false,
false,
false,
false
]
},
"hash": "b9a9b9655040f8d6d636ca4f30fda3732b5d70afac9025fa136dfb6f47c7bde2"
}