BigQuery v0.0.6 BigQuery.Tabledata
Summary
Types
insert_all_response :: %{kind: String.t, insertErrors: [insert_error]}
insert_error :: %{index: non_neg_integer, errors: [BigQuery.Types.Error.t]}
insert_row :: {unique_row_id :: String.t, row :: map}
Functions
insert_all(project_id, dataset_id, table_id, rows, opts \\ [skipInvalidRows: false, ignoreUnknownValues: false])
Specs
insert_all(String.t, String.t, String.t, [insert_row], skipInvalidRows: boolean, ignoreUnknownValues: boolean) ::
{:ok, insert_all_response} |
{:error, BigQuery.Resource.response | String.t}
Stream data into BigQuery using the Streaming API. Read the BigQuery API documentation here for more information.
It’s important that the 4th parameter is a list of tuples where the first element is a unique identifier for the row contained in the second element. This unique identifier is used by BigQuery to prevent duplication.