Insert 数据
                                                    
                                                
                                            
                                            
                                            
                                                
    
    
        insert()用于在表(table)或视图(view)执行 INSERT 操作。
案例1 (创建记录) link
	
  
  
  
  
	
  
  
  
  
  
  
  
  
  
  
                                                                                                                                                              
await supabase
    .from('cities')
    .insert({'name': 'The Shire', 'country_id': 554});
  
   
 
 
案例2 (批量创建) link
	
  
  
  
  
	
  
  
  
  
  
  
  
  
  
  
                                                                                
await supabase.from('cities').insert([
  {'name': 'The Shire', 'country_id': 554},
  {'name': 'Rohan', 'country_id': 555},
]);
  
   
 
 
案例3 (获取插入的记录) link
	
  
  
  
  
	
  
  
  
  
  
  
  
  
  
  
                                                                                
final List<Map<String, dynamic>> data =
        await supabase.from('cities').insert([
      {'name': 'The Shire', 'country_id': 554},
      {'name': 'Rohan', 'country_id': 555},
    ]).select();