mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 18:22:46 +00:00
4 lines
143 B
SQL
4 lines
143 B
SQL
UPDATE "document"
|
|
SET "char_length" = ( SELECT "sum" ( "char_length" ( "content" ) ) FROM paragraph WHERE "document_id" = %s )
|
|
WHERE
|
|
"id" = %s |