u
This commit is contained in:
@@ -61,6 +61,12 @@ FROM pic
|
||||
WHERE hash = @hash
|
||||
`;
|
||||
|
||||
export const GET_SMALLTHUMB_BY_HASH = `
|
||||
SELECT smallthumbw AS w, smallthumbh AS h, smallthumbbinary AS buffer
|
||||
FROM pic
|
||||
WHERE hash = @hash
|
||||
`;
|
||||
|
||||
export const DELETE_BY_ARTICLE_AND_HASH = `
|
||||
DELETE p
|
||||
FROM pic p
|
||||
|
||||
@@ -30,6 +30,12 @@ FROM pic
|
||||
WHERE hash = @hash
|
||||
`;
|
||||
|
||||
export const GET_SMALLTHUMB_BY_HASH = `
|
||||
SELECT smallthumbw AS w, smallthumbh AS h, smallthumbbinary AS buffer
|
||||
FROM pic
|
||||
WHERE hash = @hash
|
||||
`;
|
||||
|
||||
export const DELETE_BY_ARTICLE_AND_HASH = `
|
||||
DELETE FROM pic
|
||||
WHERE hash = @fullHash
|
||||
|
||||
Reference in New Issue
Block a user