コード例 #1
0
ファイル: Table.cs プロジェクト: supabase/postgrest-csharp
 /// <summary>
 /// Executes a BULK INSERT query using the defined query params on the current instance.
 /// </summary>
 /// <param name="model"></param>
 /// <param name="options"></param>
 /// <returns>A typed model response from the database.</returns>
 public Task <ModeledResponse <T> > Insert(ICollection <T> models, QueryOptions options = null) => PerformInsert(models, options);
コード例 #2
0
ファイル: Table.cs プロジェクト: supabase/postgrest-csharp
 /// <summary>
 /// Executes an INSERT query using the defined query params on the current instance.
 /// </summary>
 /// <param name="model"></param>
 /// <param name="options"></param>
 /// <returns>A typed model response from the database.</returns>
 public Task <ModeledResponse <T> > Insert(T model, QueryOptions options = null) => PerformInsert(model, options);