This commit is contained in:
2024-12-26 00:03:51 +01:00
parent f938516f65
commit 52ab9b361d
24 changed files with 650 additions and 650 deletions

View File

@@ -215,8 +215,8 @@ async fn get_sequence_books(
b.uploaded,
(
SELECT
JSON_AGG(
JSON_BUILD_OBJECT(
JSONB_AGG(
JSONB_BUILD_OBJECT(
'id', authors.id,
'first_name', authors.first_name,
'last_name', authors.last_name,
@@ -232,8 +232,8 @@ async fn get_sequence_books(
) AS "authors!: Vec<Author>",
(
SELECT
JSON_AGG(
JSON_BUILD_OBJECT(
JSONB_AGG(
JSONB_BUILD_OBJECT(
'id', authors.id,
'first_name', authors.first_name,
'last_name', authors.last_name,