Slide 19
Slide 19 text
ϑϩϯτ͔Β42-࣮ߦ
import { createClient } from "@supabase/supabase-js";
export const fetchManuals = async (): Promise => {
const { data, error } = await client
.from("manuals")
.select("*")
.order(“title");
if (!error && data) {
return data;
}
return [];
};
ϒϥβ্ͷ+4͔Β42-Λ࣮ߦͰ͖
"1*Λ༻ҙ͢Δඞཁ͕͋Γ·ͤΜ