build(sqlx): adding the sqlx cache
This commit is contained in:
parent
e712275a64
commit
fbb2a00aa6
5 changed files with 143 additions and 0 deletions
27
.sqlx/query-25f0a10d405cb2f35759bb5eebacea276863f1c5321c2d72b7cae5a009c7bd12 2.json
generated
Normal file
27
.sqlx/query-25f0a10d405cb2f35759bb5eebacea276863f1c5321c2d72b7cae5a009c7bd12 2.json
generated
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"db_name": "PostgreSQL",
|
||||||
|
"query": "UPDATE bots SET presence = $1::bot_presence WHERE id = $2",
|
||||||
|
"describe": {
|
||||||
|
"columns": [],
|
||||||
|
"parameters": {
|
||||||
|
"Left": [
|
||||||
|
{
|
||||||
|
"Custom": {
|
||||||
|
"name": "bot_presence",
|
||||||
|
"kind": {
|
||||||
|
"Enum": [
|
||||||
|
"online",
|
||||||
|
"idle",
|
||||||
|
"dnd",
|
||||||
|
"invisible"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Int4"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"nullable": []
|
||||||
|
},
|
||||||
|
"hash": "25f0a10d405cb2f35759bb5eebacea276863f1c5321c2d72b7cae5a009c7bd12"
|
||||||
|
}
|
||||||
59
.sqlx/query-2702523871f6edf697d2467a70d0ed4faf9e27109d54f4a594b97116750cd1a7 2.json
generated
Normal file
59
.sqlx/query-2702523871f6edf697d2467a70d0ed4faf9e27109d54f4a594b97116750cd1a7 2.json
generated
Normal file
|
|
@ -0,0 +1,59 @@
|
||||||
|
{
|
||||||
|
"db_name": "PostgreSQL",
|
||||||
|
"query": "SELECT status, activity_type as \"activity_type: BotActivity\", presence as \"presence: BotPresence\" FROM bots WHERE id = $1",
|
||||||
|
"describe": {
|
||||||
|
"columns": [
|
||||||
|
{
|
||||||
|
"ordinal": 0,
|
||||||
|
"name": "status",
|
||||||
|
"type_info": "Text"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ordinal": 1,
|
||||||
|
"name": "activity_type: BotActivity",
|
||||||
|
"type_info": {
|
||||||
|
"Custom": {
|
||||||
|
"name": "bot_activity",
|
||||||
|
"kind": {
|
||||||
|
"Enum": [
|
||||||
|
"Playing",
|
||||||
|
"Streaming",
|
||||||
|
"Listening",
|
||||||
|
"Watching",
|
||||||
|
"Competing"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ordinal": 2,
|
||||||
|
"name": "presence: BotPresence",
|
||||||
|
"type_info": {
|
||||||
|
"Custom": {
|
||||||
|
"name": "bot_presence",
|
||||||
|
"kind": {
|
||||||
|
"Enum": [
|
||||||
|
"online",
|
||||||
|
"idle",
|
||||||
|
"dnd",
|
||||||
|
"invisible"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parameters": {
|
||||||
|
"Left": [
|
||||||
|
"Int4"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"nullable": [
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"hash": "2702523871f6edf697d2467a70d0ed4faf9e27109d54f4a594b97116750cd1a7"
|
||||||
|
}
|
||||||
14
.sqlx/query-36336bfa8eb9820fa1053f3c71b328dc95a26f72cfbd8c54b1154afe90c882f9 2.json
generated
Normal file
14
.sqlx/query-36336bfa8eb9820fa1053f3c71b328dc95a26f72cfbd8c54b1154afe90c882f9 2.json
generated
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
"db_name": "PostgreSQL",
|
||||||
|
"query": "INSERT INTO bots (id) VALUES ($1) ON CONFLICT DO NOTHING",
|
||||||
|
"describe": {
|
||||||
|
"columns": [],
|
||||||
|
"parameters": {
|
||||||
|
"Left": [
|
||||||
|
"Int4"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"nullable": []
|
||||||
|
},
|
||||||
|
"hash": "36336bfa8eb9820fa1053f3c71b328dc95a26f72cfbd8c54b1154afe90c882f9"
|
||||||
|
}
|
||||||
28
.sqlx/query-a76ba51833bda6f3f0702a3f678b1ad48cc87c197b63a4bc7c8523ec3a55ae22 2.json
generated
Normal file
28
.sqlx/query-a76ba51833bda6f3f0702a3f678b1ad48cc87c197b63a4bc7c8523ec3a55ae22 2.json
generated
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
"db_name": "PostgreSQL",
|
||||||
|
"query": "UPDATE bots SET activity_type = $1::bot_activity WHERE id = $2",
|
||||||
|
"describe": {
|
||||||
|
"columns": [],
|
||||||
|
"parameters": {
|
||||||
|
"Left": [
|
||||||
|
{
|
||||||
|
"Custom": {
|
||||||
|
"name": "bot_activity",
|
||||||
|
"kind": {
|
||||||
|
"Enum": [
|
||||||
|
"Playing",
|
||||||
|
"Streaming",
|
||||||
|
"Listening",
|
||||||
|
"Watching",
|
||||||
|
"Competing"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Int4"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"nullable": []
|
||||||
|
},
|
||||||
|
"hash": "a76ba51833bda6f3f0702a3f678b1ad48cc87c197b63a4bc7c8523ec3a55ae22"
|
||||||
|
}
|
||||||
15
.sqlx/query-eb2b669a3d8d4ca1e5814afc986727f1df2fd0a81011cdbebc94ced0ebffc2cb 2.json
generated
Normal file
15
.sqlx/query-eb2b669a3d8d4ca1e5814afc986727f1df2fd0a81011cdbebc94ced0ebffc2cb 2.json
generated
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
"db_name": "PostgreSQL",
|
||||||
|
"query": "UPDATE bots SET status = $1 WHERE id = $2",
|
||||||
|
"describe": {
|
||||||
|
"columns": [],
|
||||||
|
"parameters": {
|
||||||
|
"Left": [
|
||||||
|
"Text",
|
||||||
|
"Int4"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"nullable": []
|
||||||
|
},
|
||||||
|
"hash": "eb2b669a3d8d4ca1e5814afc986727f1df2fd0a81011cdbebc94ced0ebffc2cb"
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue