sitegen/src/file-viewer/bin/list.ts

9 lines
219 B
TypeScript
Raw Normal View History

2025-06-27 19:40:19 -07:00
export function main() {
const meows = MediaFile.db.prepare(`
select * from media_files;
`).as(MediaFile).array();
console.log(meows);
}
import { MediaFile } from "@/file-viewer/models/MediaFile.ts";