23 lines
542 B
JSON
23 lines
542 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n SELECT consent_id\n FROM user_consents\n WHERE user_id = $1 AND bank_code = $2 AND expires_at > NOW() AND status = 'active'\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "consent_id",
|
|
"type_info": "Varchar"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Text",
|
|
"Text"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false
|
|
]
|
|
},
|
|
"hash": "51af07266e370fc9282455cbf872b1558a4b7653972a8e8166b29856d63c37d8"
|
|
}
|