module
supabase
Supabase: tables through PostgREST, RPC, email/password auth and public storage URLs. The anon key is meant for browsers; row-level security decides what it can see.
let db = Supabase::new(env!("SUPABASE_URL"), env!("SUPABASE_ANON_KEY"));
let req = db.from("products").select("id,name,price").eq("active", "true").order("price", true).limit(20).get();
let rows = weft::web::fetch(req).await?.json().map(|j| to_value(&j))?;Structs
Functions
total_count
pub fn total_count(res: &Response) -> Option<usize>The total from a count() query's Content-Range (0-9/42 → 42).