For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.

Flutter: limit

Limits the result with the specified count.

Parameters

Examples

With select()

final data = await supabase
  .from('instruments')
  .select('name')
  .limit(1);

On a referenced table

final data = await supabase
  .from('orchestral_sections')
  .select('''
    name,
    instruments (
      name
    )
  ''')
  .limit(1, referencedTable: 'instruments');