7 lines
207 B
TypeScript
7 lines
207 B
TypeScript
|
import { MoveShelfAction } from "../types/Book";
|
||
|
|
||
|
export const moveShelf = ({ target, books }: MoveShelfAction) =>
|
||
|
`UPDATE bookData SET shelf='${target}' WHERE uuid IN ('${books.join(
|
||
|
"', '"
|
||
|
)}');`;
|