feat(sqlx): adding the cache from the database
This commit is contained in:
parent
68beb0c582
commit
e712275a64
20 changed files with 681 additions and 0 deletions
15
.sqlx/query-644a753755c11c731882d2a60b619d57a6f5a7b70b10658031bff39be85cdcb0.json
generated
Normal file
15
.sqlx/query-644a753755c11c731882d2a60b619d57a6f5a7b70b10658031bff39be85cdcb0.json
generated
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "UPDATE guild_users SET invitation_count = GREATEST(invitation_count - 1, 0) WHERE user_id = $1 AND guild_id = $2",
|
||||
"describe": {
|
||||
"columns": [],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Text",
|
||||
"Text"
|
||||
]
|
||||
},
|
||||
"nullable": []
|
||||
},
|
||||
"hash": "644a753755c11c731882d2a60b619d57a6f5a7b70b10658031bff39be85cdcb0"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue