From 1a2ddbffed84abbc18b23c04ebc70c47f68e700e Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Sat, 19 Apr 2025 00:06:41 +0200 Subject: [PATCH] docs/blobs: reword to avoid any misunderstandings --- .../Development and architecture/Database/blobs.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/Developer Guide/Developer Guide/Development and architecture/Database/blobs.md b/docs/Developer Guide/Developer Guide/Development and architecture/Database/blobs.md index 64a5fdc289..875db8510a 100644 --- a/docs/Developer Guide/Developer Guide/Development and architecture/Database/blobs.md +++ b/docs/Developer Guide/Developer Guide/Development and architecture/Database/blobs.md @@ -1,2 +1,7 @@ # blobs -
Column NameData TypeNullityDefault valueDescription
blobIdTextNon-null The unique ID of the blob (e.g. XXbfAJXqWrYnSXcelLFA).
contentTextNullablenull

The content of the blob, can be either:

  • text (for plain text notes or HTML notes).
  • binary (for images and other types of attachments)
dateModifiedTextNon-null Localized modification date (e.g. 2023-11-08 18:43:44.204+0200)
utcDateModifiedTextNon-null Modification date in UTC format (e.g. 2023-11-08 16:43:44.204Z)
\ No newline at end of file +
Column NameData TypeNullityDefault valueDescription
blobIdTextNon-null The unique ID of the blob (e.g. XXbfAJXqWrYnSXcelLFA). + +Important: this ID is actually a hash of the content, see AbstractBeccaEntity#saveBlob! It is a logic error to modify an existing blob. +
contentTextNullablenull

The content of the blob, can be either:

  • text (for plain text notes or HTML notes).
  • binary (for images and other types of attachments)
dateModifiedTextNon-null Creation date with timezone offset (e.g. 2023-11-08 18:43:44.204+0200)
utcDateModifiedTextNon-null Creation date in UTC format (e.g. 2023-11-08 16:43:44.204Z). + +Blobs cannot be modified, so this timestamp specifies when the blob was created.