chore: update .sqlx

This commit is contained in:
Zynh Ludwig 2024-11-21 16:17:05 -08:00
parent 5f4158e27d
commit 1dc9f4c877
3 changed files with 76 additions and 12 deletions

View file

@ -0,0 +1,38 @@
{
"db_name": "SQLite",
"query": "INSERT INTO records (cache_name, max_downloads)\nVALUES (?, ?)\nRETURNING\n cache_name,\n uploaded AS \"uploaded: _\",\n downloads AS \"downloads: i32\",\n max_downloads AS \"max_downloads: i32\";\n",
"describe": {
"columns": [
{
"name": "cache_name",
"ordinal": 0,
"type_info": "Text"
},
{
"name": "uploaded: _",
"ordinal": 1,
"type_info": "Text"
},
{
"name": "downloads: i32",
"ordinal": 2,
"type_info": "Integer"
},
{
"name": "max_downloads: i32",
"ordinal": 3,
"type_info": "Integer"
}
],
"parameters": {
"Right": 2
},
"nullable": [
false,
false,
false,
false
]
},
"hash": "7364fac4efc7b1872f8298bb007191caed687d5c6a0770486a329a24085b2ab2"
}

View file

@ -1,12 +0,0 @@
{
"db_name": "SQLite",
"query": "INSERT INTO records (cache_name, max_downloads)\nVALUES (?, ?);\n",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
},
"hash": "dcad7587b9bd5d84025db4e22c90d2ba0210edeaff5235a877e92235384f2c57"
}

View file

@ -0,0 +1,38 @@
{
"db_name": "SQLite",
"query": "SELECT\n cache_name,\n uploaded AS \"uploaded: _\",\n downloads AS \"downloads: i32\",\n max_downloads AS \"max_downloads: i32\"\nFROM records\nWHERE cache_name = ?;\n",
"describe": {
"columns": [
{
"name": "cache_name",
"ordinal": 0,
"type_info": "Text"
},
{
"name": "uploaded: _",
"ordinal": 1,
"type_info": "Text"
},
{
"name": "downloads: i32",
"ordinal": 2,
"type_info": "Integer"
},
{
"name": "max_downloads: i32",
"ordinal": 3,
"type_info": "Integer"
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false
]
},
"hash": "f910a524c457442564a8d484fc00a277ae5cb73444e5748af0bf0d629048fa17"
}