From 2e6db59f033680fe175d131bb9f15feaf71119c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lys=C3=A6?= <101974839+ElysaSrc@users.noreply.github.com> Date: Sun, 23 Jun 2024 15:05:57 +0200 Subject: [PATCH] backend: fix sqlx prepares --- ...0e9f76b72c0b2b53013a580d1b8a09d31ecb5309700706d0f.json} | 7 ++++--- ...f932b9f038d764f8139646253c3439efc5a7564a668959423.json} | 7 ++++--- ...2a53c7e5d2b8eff6b8dff1c2ebb0d2079171c2bdaa579f356.json} | 7 ++++--- 3 files changed, 12 insertions(+), 9 deletions(-) rename backend/.sqlx/{query-b8bbbb0a3c93ad5cc5775c377928284c0842a41eeadb4af9992f1a8421d0253e.json => query-17f9d97293b25090e9f76b72c0b2b53013a580d1b8a09d31ecb5309700706d0f.json} (82%) rename backend/.sqlx/{query-d1bc450195745ce80eced6173d14af52c4ff2ef67865760a467b93c4956f0804.json => query-59119986a14c65df932b9f038d764f8139646253c3439efc5a7564a668959423.json} (83%) rename backend/.sqlx/{query-ce91457f441699c61357b38e9170a6996a28afa475509e69818a1bf1b4b89645.json => query-917ef9e3a1017c82a53c7e5d2b8eff6b8dff1c2ebb0d2079171c2bdaa579f356.json} (84%) diff --git a/backend/.sqlx/query-b8bbbb0a3c93ad5cc5775c377928284c0842a41eeadb4af9992f1a8421d0253e.json b/backend/.sqlx/query-17f9d97293b25090e9f76b72c0b2b53013a580d1b8a09d31ecb5309700706d0f.json similarity index 82% rename from backend/.sqlx/query-b8bbbb0a3c93ad5cc5775c377928284c0842a41eeadb4af9992f1a8421d0253e.json rename to backend/.sqlx/query-17f9d97293b25090e9f76b72c0b2b53013a580d1b8a09d31ecb5309700706d0f.json index cb75b51..7048413 100644 --- a/backend/.sqlx/query-b8bbbb0a3c93ad5cc5775c377928284c0842a41eeadb4af9992f1a8421d0253e.json +++ b/backend/.sqlx/query-17f9d97293b25090e9f76b72c0b2b53013a580d1b8a09d31ecb5309700706d0f.json @@ -1,6 +1,6 @@ { "db_name": "PostgreSQL", - "query": "\n SELECT\n id as \"id!\",\n entity_id as \"entity_id!\",\n category_id as \"category_id!\",\n tags_ids as \"tags_ids!\",\n family_id as \"family_id!\",\n display_name as \"display_name!\",\n parent_id,\n parent_display_name,\n web_mercator_x as \"web_mercator_x!\",\n web_mercator_y as \"web_mercator_y!\",\n plain_text_location as \"plain_text_location!\",\n cluster_id,\n cluster_center_x,\n cluster_center_y\n FROM fetch_entities_within_view($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16)\n ", + "query": "\n SELECT\n id as \"id!\",\n entity_id as \"entity_id!\",\n category_id as \"category_id!\",\n tags_ids as \"tags_ids!\",\n family_id as \"family_id!\",\n display_name as \"display_name!\",\n parent_id,\n parent_display_name,\n web_mercator_x as \"web_mercator_x!\",\n web_mercator_y as \"web_mercator_y!\",\n plain_text_location as \"plain_text_location!\",\n cluster_id,\n cluster_center_x,\n cluster_center_y\n FROM fetch_entities_within_view(\n $1,\n $2,\n $3,\n $4,\n $5,\n $6,\n $7,\n $8,\n $9,\n $10,\n $11,\n $12,\n $13,\n $14,\n $15,\n $16,\n $17\n )\n ", "describe": { "columns": [ { @@ -91,7 +91,8 @@ "Int4", "UuidArray", "UuidArray", - "UuidArray" + "UuidArray", + "Jsonb" ] }, "nullable": [ @@ -111,5 +112,5 @@ null ] }, - "hash": "b8bbbb0a3c93ad5cc5775c377928284c0842a41eeadb4af9992f1a8421d0253e" + "hash": "17f9d97293b25090e9f76b72c0b2b53013a580d1b8a09d31ecb5309700706d0f" } diff --git a/backend/.sqlx/query-d1bc450195745ce80eced6173d14af52c4ff2ef67865760a467b93c4956f0804.json b/backend/.sqlx/query-59119986a14c65df932b9f038d764f8139646253c3439efc5a7564a668959423.json similarity index 83% rename from backend/.sqlx/query-d1bc450195745ce80eced6173d14af52c4ff2ef67865760a467b93c4956f0804.json rename to backend/.sqlx/query-59119986a14c65df932b9f038d764f8139646253c3439efc5a7564a668959423.json index 511c0d0..4a5b1a2 100644 --- a/backend/.sqlx/query-d1bc450195745ce80eced6173d14af52c4ff2ef67865760a467b93c4956f0804.json +++ b/backend/.sqlx/query-59119986a14c65df932b9f038d764f8139646253c3439efc5a7564a668959423.json @@ -1,6 +1,6 @@ { "db_name": "PostgreSQL", - "query": "\n SELECT \n id as \"id!\",\n entity_id as \"entity_id!\",\n category_id as \"category_id!\",\n tags_ids as \"tags_ids!\",\n family_id as \"family_id!\",\n display_name as \"display_name!\",\n total_results as \"total_results!\",\n total_pages as \"total_pages!\",\n response_current_page as \"response_current_page!\",\n hidden as \"hidden!\"\n FROM search_entities_admin($1, $2, $3, $4, $5, $6, $7)\n ", + "query": "\n SELECT \n id as \"id!\",\n entity_id as \"entity_id!\",\n category_id as \"category_id!\",\n tags_ids as \"tags_ids!\",\n family_id as \"family_id!\",\n display_name as \"display_name!\",\n total_results as \"total_results!\",\n total_pages as \"total_pages!\",\n response_current_page as \"response_current_page!\",\n hidden as \"hidden!\"\n FROM search_entities_admin(\n $1,\n $2,\n $3,\n $4,\n $5,\n $6,\n $7,\n $8\n )\n ", "describe": { "columns": [ { @@ -62,7 +62,8 @@ "Int8", "UuidArray", "UuidArray", - "UuidArray" + "UuidArray", + "Jsonb" ] }, "nullable": [ @@ -78,5 +79,5 @@ null ] }, - "hash": "d1bc450195745ce80eced6173d14af52c4ff2ef67865760a467b93c4956f0804" + "hash": "59119986a14c65df932b9f038d764f8139646253c3439efc5a7564a668959423" } diff --git a/backend/.sqlx/query-ce91457f441699c61357b38e9170a6996a28afa475509e69818a1bf1b4b89645.json b/backend/.sqlx/query-917ef9e3a1017c82a53c7e5d2b8eff6b8dff1c2ebb0d2079171c2bdaa579f356.json similarity index 84% rename from backend/.sqlx/query-ce91457f441699c61357b38e9170a6996a28afa475509e69818a1bf1b4b89645.json rename to backend/.sqlx/query-917ef9e3a1017c82a53c7e5d2b8eff6b8dff1c2ebb0d2079171c2bdaa579f356.json index 08f4187..f0f15ed 100644 --- a/backend/.sqlx/query-ce91457f441699c61357b38e9170a6996a28afa475509e69818a1bf1b4b89645.json +++ b/backend/.sqlx/query-917ef9e3a1017c82a53c7e5d2b8eff6b8dff1c2ebb0d2079171c2bdaa579f356.json @@ -1,6 +1,6 @@ { "db_name": "PostgreSQL", - "query": "\n SELECT \n id as \"id!\",\n entity_id as \"entity_id!\",\n category_id as \"category_id!\",\n tags_ids as \"tags_ids!\",\n family_id as \"family_id!\",\n display_name as \"display_name!\",\n parent_id,\n parent_display_name,\n web_mercator_x as \"web_mercator_x\",\n web_mercator_y as \"web_mercator_y\",\n plain_text_location as \"plain_text_location\",\n total_results as \"total_results!\",\n total_pages as \"total_pages!\",\n response_current_page as \"response_current_page!\"\n FROM search_entities($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14)\n ", + "query": "\n SELECT \n id as \"id!\",\n entity_id as \"entity_id!\",\n category_id as \"category_id!\",\n tags_ids as \"tags_ids!\",\n family_id as \"family_id!\",\n display_name as \"display_name!\",\n parent_id,\n parent_display_name,\n web_mercator_x as \"web_mercator_x\",\n web_mercator_y as \"web_mercator_y\",\n plain_text_location as \"plain_text_location\",\n total_results as \"total_results!\",\n total_pages as \"total_pages!\",\n response_current_page as \"response_current_page!\"\n FROM search_entities(\n $1,\n $2,\n $3,\n $4,\n $5,\n $6,\n $7,\n $8,\n $9,\n $10,\n $11,\n $12,\n $13,\n $14,\n $15\n )\n ", "describe": { "columns": [ { @@ -89,7 +89,8 @@ "UuidArray", "UuidArray", "UuidArray", - "Bool" + "Bool", + "Jsonb" ] }, "nullable": [ @@ -109,5 +110,5 @@ null ] }, - "hash": "ce91457f441699c61357b38e9170a6996a28afa475509e69818a1bf1b4b89645" + "hash": "917ef9e3a1017c82a53c7e5d2b8eff6b8dff1c2ebb0d2079171c2bdaa579f356" }