feat(sqlx): adding the cache from the database

This commit is contained in:
Raphael 2026-02-17 15:26:49 +01:00 committed by Raphaël
parent 68beb0c582
commit e712275a64
20 changed files with 681 additions and 0 deletions

View file

@ -0,0 +1,65 @@
{
"db_name": "PostgreSQL",
"query": "SELECT * FROM guild_users WHERE guild_id = $1 ORDER BY xp DESC LIMIT $2",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Int4"
},
{
"ordinal": 1,
"name": "user_id",
"type_info": "Text"
},
{
"ordinal": 2,
"name": "guild_id",
"type_info": "Text"
},
{
"ordinal": 3,
"name": "xp",
"type_info": "Int4"
},
{
"ordinal": 4,
"name": "level",
"type_info": "Int4"
},
{
"ordinal": 5,
"name": "is_wl_user",
"type_info": "Bool"
},
{
"ordinal": 6,
"name": "invitation_count",
"type_info": "Int4"
},
{
"ordinal": 7,
"name": "invited_by",
"type_info": "Text"
}
],
"parameters": {
"Left": [
"Text",
"Int8"
]
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
true
]
},
"hash": "dbfd5cf9984c6412df27575a0c86d390a239f5caa71e999bee07a94951619857"
}