Use nulls, make-sql

This commit is contained in:
Min Idzelis
2025-05-03 02:06:34 +00:00
parent 0ed2a2fd2e
commit aea2c9506d
19 changed files with 186 additions and 205 deletions

View File

@@ -255,8 +255,23 @@ order by
-- AssetRepository.getTimeBucket
select
"assets".*,
to_json("exif") as "exifInfo",
"assets"."id" as "id",
"assets"."ownerId",
"assets"."status",
"deletedAt",
"type",
"duration",
"isFavorite",
"isArchived",
"thumbhash",
"localDateTime",
"livePhotoVideoId",
"exif"."exifImageHeight" as "height",
"exifImageWidth" as "width",
"exif"."orientation",
"exif"."projectionType",
"exif"."city" as "city",
"exif"."country" as "country",
to_json("stacked_assets") as "stack"
from
"assets"