Files
lancedb/docs/src/js/interfaces/CreateTableOptions.md
Weston Pace e21b56293c docs: add a reference to @lancedb/lance in the docs (#1166)
We aren't yet ready to switch over the examples since almost all JS
examples rely on embeddings and we haven't yet ported those over.
However, this makes it possible for those that are interested to start
using `@lancedb/lancedb`
2024-04-05 16:34:39 -07:00

984 B

@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