Python: Limit the number of rows returned

Parameters

Examples

With `select()`

response = supabase.table("countries").select("name").limit(1).execute()

On a foreign table

response = (
    supabase.table("countries")
    .select("name, cities(name)")
    .limit(1, foreign_table="cities")
    .execute()
)