diff --git a/.sqlx/query-0128f7f3a970e164d9edcaaab7c366aff00df1c4653b7bb25a8aa0e828463ee1.json b/.sqlx/query-0128f7f3a970e164d9edcaaab7c366aff00df1c4653b7bb25a8aa0e828463ee1.json new file mode 100644 index 0000000..64787ee --- /dev/null +++ b/.sqlx/query-0128f7f3a970e164d9edcaaab7c366aff00df1c4653b7bb25a8aa0e828463ee1.json @@ -0,0 +1,28 @@ +{ + "db_name": "PostgreSQL", + "query": "\n SELECT name, abbreviation FROM \"Book\" WHERE id=$1\n ", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "name", + "type_info": "Varchar" + }, + { + "ordinal": 1, + "name": "abbreviation", + "type_info": "Varchar" + } + ], + "parameters": { + "Left": [ + "Int4" + ] + }, + "nullable": [ + false, + false + ] + }, + "hash": "0128f7f3a970e164d9edcaaab7c366aff00df1c4653b7bb25a8aa0e828463ee1" +} diff --git a/.sqlx/query-1ad6e6bf93ff9e17bf8344b91ae51a4782716b466f5b7ccd4e51c76af7f8ee2d.json b/.sqlx/query-1ad6e6bf93ff9e17bf8344b91ae51a4782716b466f5b7ccd4e51c76af7f8ee2d.json new file mode 100644 index 0000000..95e6136 --- /dev/null +++ b/.sqlx/query-1ad6e6bf93ff9e17bf8344b91ae51a4782716b466f5b7ccd4e51c76af7f8ee2d.json @@ -0,0 +1,22 @@ +{ + "db_name": "PostgreSQL", + "query": "\n SELECT COUNT(*) FROM \"Chapter\" WHERE book_id=$1\n ", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "count", + "type_info": "Int8" + } + ], + "parameters": { + "Left": [ + "Int4" + ] + }, + "nullable": [ + null + ] + }, + "hash": "1ad6e6bf93ff9e17bf8344b91ae51a4782716b466f5b7ccd4e51c76af7f8ee2d" +} diff --git a/.sqlx/query-2fb331bf25550ed618fcebf0814832b0963e55a91d253a66878f1b5dedba5b9d.json b/.sqlx/query-2fb331bf25550ed618fcebf0814832b0963e55a91d253a66878f1b5dedba5b9d.json new file mode 100644 index 0000000..74b322b --- /dev/null +++ b/.sqlx/query-2fb331bf25550ed618fcebf0814832b0963e55a91d253a66878f1b5dedba5b9d.json @@ -0,0 +1,22 @@ +{ + "db_name": "PostgreSQL", + "query": "\n SELECT id FROM \"Book\" WHERE abbreviation=$1\n ", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "id", + "type_info": "Int4" + } + ], + "parameters": { + "Left": [ + "Text" + ] + }, + "nullable": [ + false + ] + }, + "hash": "2fb331bf25550ed618fcebf0814832b0963e55a91d253a66878f1b5dedba5b9d" +} diff --git a/.sqlx/query-5089c1ead6fbaeea6aded8026412dd6f0e72a162ad02c14bdb05ff63e50767dd.json b/.sqlx/query-5089c1ead6fbaeea6aded8026412dd6f0e72a162ad02c14bdb05ff63e50767dd.json new file mode 100644 index 0000000..27f722a --- /dev/null +++ b/.sqlx/query-5089c1ead6fbaeea6aded8026412dd6f0e72a162ad02c14bdb05ff63e50767dd.json @@ -0,0 +1,22 @@ +{ + "db_name": "PostgreSQL", + "query": "\n SELECT COUNT(*) AS count FROM \"Chapter\" WHERE book_id=$1\n ", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "count", + "type_info": "Int8" + } + ], + "parameters": { + "Left": [ + "Int4" + ] + }, + "nullable": [ + null + ] + }, + "hash": "5089c1ead6fbaeea6aded8026412dd6f0e72a162ad02c14bdb05ff63e50767dd" +} diff --git a/.sqlx/query-e1aaed1bde4508db1dc701e1c82dabc7ae8d39f7077ff08a30427f162fadb8ec.json b/.sqlx/query-546283f478af9dd86a2b2c4885bf0c0d88d3b47b25e18ed2bee11c575d15e0c8.json similarity index 72% rename from .sqlx/query-e1aaed1bde4508db1dc701e1c82dabc7ae8d39f7077ff08a30427f162fadb8ec.json rename to .sqlx/query-546283f478af9dd86a2b2c4885bf0c0d88d3b47b25e18ed2bee11c575d15e0c8.json index 7aec68a..4f85066 100644 --- a/.sqlx/query-e1aaed1bde4508db1dc701e1c82dabc7ae8d39f7077ff08a30427f162fadb8ec.json +++ b/.sqlx/query-546283f478af9dd86a2b2c4885bf0c0d88d3b47b25e18ed2bee11c575d15e0c8.json @@ -1,6 +1,6 @@ { "db_name": "PostgreSQL", - "query": "SELECT name, l.lname as language, full_name, year, license, description from \"Translation\" join (select id, name as lname from \"Language\") l on l.id=language_id WHERE name=$1", + "query": "\n SELECT name, l.lname AS language,\n full_name, year, license, description\n FROM \"Translation\" JOIN\n (SELECT id, name AS lname FROM \"Language\") l\n ON l.id=language_id WHERE name=$1", "describe": { "columns": [ { @@ -48,5 +48,5 @@ true ] }, - "hash": "e1aaed1bde4508db1dc701e1c82dabc7ae8d39f7077ff08a30427f162fadb8ec" + "hash": "546283f478af9dd86a2b2c4885bf0c0d88d3b47b25e18ed2bee11c575d15e0c8" } diff --git a/.sqlx/query-f4215b10ae0ca37e50fd283aa6be9eb5491f7a2afc603228d5936659f2c9aa15.json b/.sqlx/query-f4215b10ae0ca37e50fd283aa6be9eb5491f7a2afc603228d5936659f2c9aa15.json new file mode 100644 index 0000000..beb0a85 --- /dev/null +++ b/.sqlx/query-f4215b10ae0ca37e50fd283aa6be9eb5491f7a2afc603228d5936659f2c9aa15.json @@ -0,0 +1,22 @@ +{ + "db_name": "PostgreSQL", + "query": "\n SELECT id FROM \"Book\" WHERE name=$1\n ", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "id", + "type_info": "Int4" + } + ], + "parameters": { + "Left": [ + "Text" + ] + }, + "nullable": [ + false + ] + }, + "hash": "f4215b10ae0ca37e50fd283aa6be9eb5491f7a2afc603228d5936659f2c9aa15" +}