这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@timothycarambat
Copy link
Member

@timothycarambat timothycarambat commented Jul 20, 2023

LanceDB 0.1.12 can now support count of rows and deletion of rows via the Node package.

  • Bumped LanceDB version
  • Added support for counting and deletion of documents
  • Removed Delete warning on frontend when using lancedb

Tests

  • Testing locally
  • Tested local Docker.

note: 0.1.15 does not work locally and is missing some kind of dependency and 0.1.12 and is highest non-broken distribution of the vectordb npm package. LanceDB is not supported for windows or WSL systems by the core team.

@timothycarambat timothycarambat added the enhancement New feature or request label Jul 20, 2023
@timothycarambat timothycarambat self-assigned this Jul 20, 2023
Comment on lines +45 to +50
tables: async function () {
const fs = require("fs");
const { client } = await this.connect();
const dirs = fs.readdirSync(client.uri);
return dirs.map((folder) => folder.replace(".lance", ""));
},
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The native tableNames() function does not work so we roll our own.

@timothycarambat timothycarambat merged commit 5fa6145 into master Jul 20, 2023
@timothycarambat timothycarambat deleted the lancedb-upgrade branch July 20, 2023 20:10
cabwds pushed a commit to cabwds/anything-llm that referenced this pull request Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants