mirror of
https://github.com/lancedb/lancedb.git
synced 2026-05-14 02:20:40 +00:00
Bumps the rust-minor-patch group with 13 updates in the / directory: | Package | From | To | | --- | --- | --- | | [arrow](https://github.com/apache/arrow-rs) | `58.1.0` | `58.2.0` | | [pin-project](https://github.com/taiki-e/pin-project) | `1.1.11` | `1.1.12` | | [semver](https://github.com/dtolnay/semver) | `1.0.27` | `1.0.28` | | [tokio](https://github.com/tokio-rs/tokio) | `1.50.0` | `1.52.2` | | [serde_with](https://github.com/jonasbb/serde_with) | `3.18.0` | `3.19.0` | | [aws-sdk-bedrockruntime](https://github.com/awslabs/aws-sdk-rust) | `1.113.0` | `1.125.0` | | [uuid](https://github.com/uuid-rs/uuid) | `1.22.0` | `1.23.1` | | [aws-sdk-dynamodb](https://github.com/awslabs/aws-sdk-rust) | `1.96.0` | `1.105.0` | | [aws-sdk-kms](https://github.com/awslabs/aws-sdk-rust) | `1.91.0` | `1.101.0` | | [test-log](https://github.com/d-e-s-o/test-log) | `0.2.19` | `0.2.20` | | [napi](https://github.com/napi-rs/napi-rs) | `3.8.3` | `3.8.6` | | [napi-derive](https://github.com/napi-rs/napi-rs) | `3.5.2` | `3.5.5` | | [libc](https://github.com/rust-lang/libc) | `0.2.183` | `0.2.186` | Updates `arrow` from 58.1.0 to 58.2.0 - [Release notes](https://github.com/apache/arrow-rs/releases) - [Changelog](https://github.com/apache/arrow-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/apache/arrow-rs/compare/58.1.0...58.2.0) Updates `arrow-array` from 58.1.0 to 58.2.0 - [Release notes](https://github.com/apache/arrow-rs/releases) - [Changelog](https://github.com/apache/arrow-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/apache/arrow-rs/compare/58.1.0...58.2.0) Updates `arrow-data` from 58.1.0 to 58.2.0 - [Release notes](https://github.com/apache/arrow-rs/releases) - [Changelog](https://github.com/apache/arrow-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/apache/arrow-rs/compare/58.1.0...58.2.0) Updates `arrow-ipc` from 58.1.0 to 58.2.0 - [Release notes](https://github.com/apache/arrow-rs/releases) - [Changelog](https://github.com/apache/arrow-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/apache/arrow-rs/compare/58.1.0...58.2.0) Updates `arrow-ord` from 58.1.0 to 58.2.0 - [Release notes](https://github.com/apache/arrow-rs/releases) - [Changelog](https://github.com/apache/arrow-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/apache/arrow-rs/compare/58.1.0...58.2.0) Updates `arrow-schema` from 58.1.0 to 58.2.0 - [Release notes](https://github.com/apache/arrow-rs/releases) - [Changelog](https://github.com/apache/arrow-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/apache/arrow-rs/compare/58.1.0...58.2.0) Updates `arrow-select` from 58.1.0 to 58.2.0 - [Release notes](https://github.com/apache/arrow-rs/releases) - [Changelog](https://github.com/apache/arrow-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/apache/arrow-rs/compare/58.1.0...58.2.0) Updates `arrow-cast` from 58.1.0 to 58.2.0 - [Release notes](https://github.com/apache/arrow-rs/releases) - [Changelog](https://github.com/apache/arrow-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/apache/arrow-rs/compare/58.1.0...58.2.0) Updates `pin-project` from 1.1.11 to 1.1.12 - [Release notes](https://github.com/taiki-e/pin-project/releases) - [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md) - [Commits](https://github.com/taiki-e/pin-project/compare/v1.1.11...v1.1.12) Updates `semver` from 1.0.27 to 1.0.28 - [Release notes](https://github.com/dtolnay/semver/releases) - [Commits](https://github.com/dtolnay/semver/compare/1.0.27...1.0.28) Updates `tokio` from 1.50.0 to 1.52.2 - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.50.0...tokio-1.52.2) Updates `serde_with` from 3.18.0 to 3.19.0 - [Release notes](https://github.com/jonasbb/serde_with/releases) - [Commits](https://github.com/jonasbb/serde_with/compare/v3.18.0...v3.19.0) Updates `aws-sdk-bedrockruntime` from 1.113.0 to 1.125.0 - [Release notes](https://github.com/awslabs/aws-sdk-rust/releases) - [Commits](https://github.com/awslabs/aws-sdk-rust/commits) Updates `uuid` from 1.22.0 to 1.23.1 - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/v1.22.0...v1.23.1) Updates `aws-sdk-dynamodb` from 1.96.0 to 1.105.0 - [Release notes](https://github.com/awslabs/aws-sdk-rust/releases) - [Commits](https://github.com/awslabs/aws-sdk-rust/commits) Updates `aws-sdk-kms` from 1.91.0 to 1.101.0 - [Release notes](https://github.com/awslabs/aws-sdk-rust/releases) - [Commits](https://github.com/awslabs/aws-sdk-rust/commits) Updates `test-log` from 0.2.19 to 0.2.20 - [Release notes](https://github.com/d-e-s-o/test-log/releases) - [Changelog](https://github.com/d-e-s-o/test-log/blob/main/CHANGELOG.md) - [Commits](https://github.com/d-e-s-o/test-log/compare/v0.2.19...v0.2.20) Updates `arrow-buffer` from 58.1.0 to 58.2.0 - [Release notes](https://github.com/apache/arrow-rs/releases) - [Changelog](https://github.com/apache/arrow-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/apache/arrow-rs/compare/58.1.0...58.2.0) Updates `napi` from 3.8.3 to 3.8.6 - [Release notes](https://github.com/napi-rs/napi-rs/releases) - [Commits](https://github.com/napi-rs/napi-rs/compare/napi-v3.8.3...napi-v3.8.6) Updates `napi-derive` from 3.5.2 to 3.5.5 - [Release notes](https://github.com/napi-rs/napi-rs/releases) - [Commits](https://github.com/napi-rs/napi-rs/compare/napi-derive-v3.5.2...napi-derive-v3.5.5) Updates `libc` from 0.2.183 to 0.2.186 - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.186/CHANGELOG.md) - [Commits](https://github.com/rust-lang/libc/compare/0.2.183...0.2.186) --- updated-dependencies: - dependency-name: arrow dependency-version: 58.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-minor-patch - dependency-name: arrow-array dependency-version: 58.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-minor-patch - dependency-name: arrow-buffer dependency-version: 58.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-minor-patch - dependency-name: arrow-cast dependency-version: 58.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-minor-patch - dependency-name: arrow-data dependency-version: 58.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-minor-patch - dependency-name: arrow-ipc dependency-version: 58.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-minor-patch - dependency-name: arrow-ord dependency-version: 58.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-minor-patch - dependency-name: arrow-schema dependency-version: 58.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-minor-patch - dependency-name: arrow-select dependency-version: 58.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-minor-patch - dependency-name: aws-sdk-bedrockruntime dependency-version: 1.125.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-minor-patch - dependency-name: aws-sdk-dynamodb dependency-version: 1.105.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-minor-patch - dependency-name: aws-sdk-kms dependency-version: 1.101.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-minor-patch - dependency-name: libc dependency-version: 0.2.186 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-minor-patch - dependency-name: napi dependency-version: 3.8.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-minor-patch - dependency-name: napi-derive dependency-version: 3.5.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-minor-patch - dependency-name: pin-project dependency-version: 1.1.12 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-minor-patch - dependency-name: semver dependency-version: 1.0.28 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-minor-patch - dependency-name: serde_with dependency-version: 3.19.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-minor-patch - dependency-name: test-log dependency-version: 0.2.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-minor-patch - dependency-name: tokio dependency-version: 1.52.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-minor-patch - dependency-name: uuid dependency-version: 1.23.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com>
LanceDB JavaScript SDK
A JavaScript library for LanceDB.
Installation
npm install @lancedb/lancedb
This will download the appropriate native library for your platform. We currently support:
- Linux (x86_64 and aarch64 on glibc and musl)
- MacOS (Intel and ARM/M1/M2)
- Windows (x86_64 and aarch64)
Usage
Basic Example
import * as lancedb from "@lancedb/lancedb";
const db = await lancedb.connect("data/sample-lancedb");
const table = await db.createTable("my_table", [
{ id: 1, vector: [0.1, 1.0], item: "foo", price: 10.0 },
{ id: 2, vector: [3.9, 0.5], item: "bar", price: 20.0 },
]);
const results = await table.vectorSearch([0.1, 0.3]).limit(20).toArray();
console.log(results);
The quickstart contains more complete examples.
Development
See CONTRIBUTING.md for information on how to contribute to LanceDB.