This commit is contained in:
seb
2026-08-02 19:01:00 +02:00
parent 787e411547
commit b890843445
10 changed files with 480 additions and 0 deletions

View File

@@ -2,3 +2,9 @@ export const CREATE = `
INSERT INTO categorytext (category_id, language_id, name, slug)
VALUES (@categoryId, @languageId, @name, @slug)
`;
export const UPDATE_BY_CATEGORY_AND_LANGUAGE = `
UPDATE categorytext
SET name = @name, slug = @slug
WHERE category_id = @categoryId AND language_id = @languageId
`;