limit()

用指定的计数来限制结果。

final res = await supabase
  .from('cities')
  .select('name, country_id')
  .limit(1)
  .execute();

Examples

使用select()

final res = await supabase
  .from('cities')
  .select('name, country_id')
  .limit(1)
  .execute();

带有嵌入式资源

final res = await supabase
  .from('countries')
  .select('name, cities(name)')
  .eq('name', 'United States')
  .limit(1,  foreignTable: 'cities' )
  .execute();

results matching ""

    No results matching ""