Skip to content

@lancedb/lancedb / Exports / CreateTableOptions

Interface: CreateTableOptions

Table of contents

Properties

Properties

existOk

existOk: boolean

If this is true and the table already exists and the mode is "create" then no error will be raised.

Defined in

connection.ts:35


mode

mode: "overwrite" | "create"

The mode to use when creating the table.

If this is set to "create" and the table already exists then either an error will be thrown or, if existOk is true, then nothing will happen. Any provided data will be ignored.

If this is set to "overwrite" then any existing table will be replaced.

Defined in

connection.ts:30