Limit the query result by count.
try await supabase
.from("countries")
.select("id, name")
.limit(1)
.execute()
try await supabase
.from("countries")
.select(
"""
name,
cities (
name
)
"""
)
.limit(1, foreignTable: "cities")
.execute()