GoogleApi.SQLAdmin.V1.Model.ImportContextCsvImportOptions (google_api_sql_admin v0.71.0)

View Source

Options for importing data as CSV.

Attributes

  • columns (type: list(String.t), default: nil) - The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.
  • escapeCharacter (type: String.t, default: nil) - Specifies the character that should appear before a data character that needs to be escaped.
  • fieldsTerminatedBy (type: String.t, default: nil) - Specifies the character that separates columns within each row (line) of the file.
  • linesTerminatedBy (type: String.t, default: nil) - This is used to separate lines. If a line does not contain all fields, the rest of the columns are set to their default values.
  • quoteCharacter (type: String.t, default: nil) - Specifies the quoting character to be used when a data value is quoted.
  • table (type: String.t, default: nil) - The table to which CSV data is imported.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.SQLAdmin.V1.Model.ImportContextCsvImportOptions{
  columns: [String.t()] | nil,
  escapeCharacter: String.t() | nil,
  fieldsTerminatedBy: String.t() | nil,
  linesTerminatedBy: String.t() | nil,
  quoteCharacter: String.t() | nil,
  table: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.