sqlx prepare

This commit is contained in:
2025-12-26 01:13:47 +01:00
parent 994d9a8957
commit 4d73a963df
7 changed files with 138 additions and 2 deletions

View File

@@ -0,0 +1,44 @@
{
"db_name": "SQLite",
"query": "SELECT * FROM tokens WHERE is_refresh = 0 ORDER BY expires_at DESC LIMIT 1",
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Integer"
},
{
"name": "token",
"ordinal": 1,
"type_info": "Text"
},
{
"name": "is_refresh",
"ordinal": 2,
"type_info": "Integer"
},
{
"name": "created_at",
"ordinal": 3,
"type_info": "Text"
},
{
"name": "expires_at",
"ordinal": 4,
"type_info": "Text"
}
],
"parameters": {
"Right": 0
},
"nullable": [
false,
false,
false,
true,
true
]
},
"hash": "e52ee1d9e3fcfb214d7d8a333ca04c1cab4b1f3fa7ffb37d1c6458917f591ba8"
}