n39librarian/middleware/queries/deleteBook.ts

4 lines
147 B
TypeScript

import { Book } from "../types/Book";
export const deleteBook = ({ uuid }: Pick<Book, "uuid">) =>
`DELETE FROM bookData WHERE uuid='${uuid}';`;