Cognite JavaScript SDK > Raw

Class: Raw

Hierarchy

Raw

Index

Methods


Methods

<Static> createDatabases

createDatabases(dbNames: string[]): Promise<void>

Defined in Raw.ts:96

Parameters:

Name Type
dbNames string[]

Returns: Promise<void>


<Static> createTables

createTables(dbName: string, tableNames: string[]): Promise<void>

Defined in Raw.ts:104

Parameters:

Name Type
dbName string
tableNames string[]

Returns: Promise<void>


<Static> deleteDatabases

deleteDatabases(dbNames: string[]): Promise<void>

Defined in Raw.ts:170

Parameters:

Name Type
dbNames string[]

Returns: Promise<void>


<Static> deleteRows

deleteRows(dbName: string, tableName: string, rowKeys: string[]): Promise<void>

Defined in Raw.ts:189

Parameters:

Name Type
dbName string
tableName string
rowKeys string[]

Returns: Promise<void>


<Static> deleteTables

deleteTables(dbName: string, tableNames: string[]): Promise<void>

Defined in Raw.ts:178

Parameters:

Name Type
dbName string
tableNames string[]

Returns: Promise<void>


<Static> insertRows

insertRows(dbName: string, tableName: string, rows: Row[], params?: RawInsertRowsParams): Promise<void>

Defined in Raw.ts:115

Parameters:

Name Type
dbName string
tableName string
rows Row[]
Optional params RawInsertRowsParams

Returns: Promise<void>


<Static> listDatabases

listDatabases(params?: RawListDatabasesParams): Promise<string[]>

Defined in Raw.ts:203

Parameters:

Name Type
Optional params RawListDatabasesParams

Returns: Promise<string[]>


<Static> listTables

listTables(dbName: string, params?: RawListTablesParams): Promise<string[]>

Defined in Raw.ts:213

Parameters:

Name Type
dbName string
Optional params RawListTablesParams

Returns: Promise<string[]>


<Static> retrieveRow

retrieveRow(dbName: string, tableName: string, rowKey: string): Promise<Row>

Defined in Raw.ts:130

Parameters:

Name Type
dbName string
tableName string
rowKey string

Returns: Promise<Row>


<Static> retrieveRowsAsCSV

retrieveRowsAsCSV(dbName: string, tableName: string, params?: RawListRowsParams): Promise<string>

Defined in Raw.ts:156

Parameters:

Name Type Default value
dbName string -
tableName string -
Default value params RawListRowsParams {}

Returns: Promise<string>


<Static> retrieveRowsAsJSON

retrieveRowsAsJSON(dbName: string, tableName: string, params?: RawListRowsParams): Promise<Row[]>

Defined in Raw.ts:142

Parameters:

Name Type Default value
dbName string -
tableName string -
Default value params RawListRowsParams {}

Returns: Promise<Row[]>