sqlx prepare3
This commit is contained in:
76
.sqlx/query-17836f6796fd1e20bd617fdef33eeaccc5a228189424edc4c79962ac8083e6e3.json
generated
Normal file
76
.sqlx/query-17836f6796fd1e20bd617fdef33eeaccc5a228189424edc4c79962ac8083e6e3.json
generated
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "\n SELECT td.id, td.table_name, td.columns, td.schema_id,\n s.name AS schema_name\n FROM table_definitions td\n JOIN schemas s ON s.id = td.schema_id\n WHERE td.id = $1\n FOR UPDATE OF td\n ",
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"ordinal": 0,
|
||||
"name": "id",
|
||||
"type_info": "Int8",
|
||||
"origin": {
|
||||
"Table": {
|
||||
"table": "table_definitions",
|
||||
"name": "id"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ordinal": 1,
|
||||
"name": "table_name",
|
||||
"type_info": "Text",
|
||||
"origin": {
|
||||
"Table": {
|
||||
"table": "table_definitions",
|
||||
"name": "table_name"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ordinal": 2,
|
||||
"name": "columns",
|
||||
"type_info": "Jsonb",
|
||||
"origin": {
|
||||
"Table": {
|
||||
"table": "table_definitions",
|
||||
"name": "columns"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ordinal": 3,
|
||||
"name": "schema_id",
|
||||
"type_info": "Int8",
|
||||
"origin": {
|
||||
"Table": {
|
||||
"table": "table_definitions",
|
||||
"name": "schema_id"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ordinal": 4,
|
||||
"name": "schema_name",
|
||||
"type_info": "Text",
|
||||
"origin": {
|
||||
"Table": {
|
||||
"table": "schemas",
|
||||
"name": "name"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Int8"
|
||||
]
|
||||
},
|
||||
"nullable": [
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false
|
||||
]
|
||||
},
|
||||
"hash": "17836f6796fd1e20bd617fdef33eeaccc5a228189424edc4c79962ac8083e6e3"
|
||||
}
|
||||
Reference in New Issue
Block a user