Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CsvImportOptions

import type { CsvImportOptions } from "https://googleapis.deno.dev/v1/alloydb:v1.ts";

Options for importing data in CSV format.

interface CsvImportOptions {
columns?: string[];
escapeCharacter?: string;
fieldDelimiter?: string;
quoteCharacter?: string;
table?: string;
}

§Properties

§
columns?: string[]
[src]

Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.

§
escapeCharacter?: string
[src]

Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is same as quote character. The value of this argument has to be a character in Hex ASCII Code.

§
fieldDelimiter?: string
[src]

Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.

§
quoteCharacter?: string
[src]

Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.

§
table?: string
[src]

Required. The database table to import CSV file into.