u
This commit is contained in:
@@ -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
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user