39 lines
800 B
JSON
39 lines
800 B
JSON
|
{
|
||
|
"db_name": "SQLite",
|
||
|
"query": "SELECT token, valid, created, last_used\n FROM user_tokens\n WHERE username = $1\n ORDER BY created DESC",
|
||
|
"describe": {
|
||
|
"columns": [
|
||
|
{
|
||
|
"name": "token",
|
||
|
"ordinal": 0,
|
||
|
"type_info": "Text"
|
||
|
},
|
||
|
{
|
||
|
"name": "valid",
|
||
|
"ordinal": 1,
|
||
|
"type_info": "Bool"
|
||
|
},
|
||
|
{
|
||
|
"name": "created",
|
||
|
"ordinal": 2,
|
||
|
"type_info": "Datetime"
|
||
|
},
|
||
|
{
|
||
|
"name": "last_used",
|
||
|
"ordinal": 3,
|
||
|
"type_info": "Datetime"
|
||
|
}
|
||
|
],
|
||
|
"parameters": {
|
||
|
"Right": 1
|
||
|
},
|
||
|
"nullable": [
|
||
|
false,
|
||
|
false,
|
||
|
false,
|
||
|
true
|
||
|
]
|
||
|
},
|
||
|
"hash": "ea4e38250ec0c44915951e55cb7c4c86fe62cf30e065278d7456d1251784fe11"
|
||
|
}
|