diff --git a/.sqlx/query-7364fac4efc7b1872f8298bb007191caed687d5c6a0770486a329a24085b2ab2.json b/.sqlx/query-7364fac4efc7b1872f8298bb007191caed687d5c6a0770486a329a24085b2ab2.json new file mode 100644 index 0000000..9738b03 --- /dev/null +++ b/.sqlx/query-7364fac4efc7b1872f8298bb007191caed687d5c6a0770486a329a24085b2ab2.json @@ -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" +} diff --git a/.sqlx/query-dcad7587b9bd5d84025db4e22c90d2ba0210edeaff5235a877e92235384f2c57.json b/.sqlx/query-dcad7587b9bd5d84025db4e22c90d2ba0210edeaff5235a877e92235384f2c57.json deleted file mode 100644 index 0bd74cf..0000000 --- a/.sqlx/query-dcad7587b9bd5d84025db4e22c90d2ba0210edeaff5235a877e92235384f2c57.json +++ /dev/null @@ -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" -} diff --git a/.sqlx/query-f910a524c457442564a8d484fc00a277ae5cb73444e5748af0bf0d629048fa17.json b/.sqlx/query-f910a524c457442564a8d484fc00a277ae5cb73444e5748af0bf0d629048fa17.json new file mode 100644 index 0000000..1066534 --- /dev/null +++ b/.sqlx/query-f910a524c457442564a8d484fc00a277ae5cb73444e5748af0bf0d629048fa17.json @@ -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" +}