30 lines
669 B
JSON
30 lines
669 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n SELECT td.id\n FROM table_definitions td\n JOIN schemas s ON td.schema_id = s.id\n WHERE s.name = $1 AND td.table_name = $2\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "id",
|
|
"type_info": "Int8",
|
|
"origin": {
|
|
"Table": {
|
|
"table": "table_definitions",
|
|
"name": "id"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Text",
|
|
"Text"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false
|
|
]
|
|
},
|
|
"hash": "5a68e8ba3172d5142c4d240d75ed8ebeb441171368839f938081c5d87c431ddf"
|
|
}
|