--- id: limit title: "limit()" slug: limit --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; Limits the result with the specified `count`. ```js const { data, error } = await supabase .from('cities') .select('name, country_id') .limit(1) ``` ```py # Not yet implemented ``` ## Parameters ## Examples ### With `select()` ```js const { data, error } = await supabase .from('cities') .select('name, country_id') .limit(1) ``` ```py # Not yet implemented ``` ### With embedded resources ```js const { data, error } = await supabase .from('cities') .select('name, cities(name)') .eq('name', 'United States') .limit(1, 'cities') ``` ```py # Not yet implemented ```