[Resolved] Rename a joined table inside a .select() ?

Hi,
I have this code that's working just fine:
  const { data: country } = await supabaseService
    .from("country")
    .select("*, city(*)")
    .eq("slug", params!.country)
    .single();

Is there a way to do something like city(*) AS cities without renaming my table ?
Was this page helpful?