@infino-ai/infino 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/infino/index.d.ts +6 -0
- package/infino/index.js +8 -0
- package/package.json +7 -7
package/infino/index.d.ts
CHANGED
|
@@ -193,6 +193,12 @@ export declare class Table {
|
|
|
193
193
|
export declare class Connection {
|
|
194
194
|
private inner;
|
|
195
195
|
constructor(inner: any);
|
|
196
|
+
/**
|
|
197
|
+
* Provision the database this connection targets. On the hosted service this
|
|
198
|
+
* registers the database (throws if it already exists); on a local backend the
|
|
199
|
+
* catalog root is the database, so it is a no-op success.
|
|
200
|
+
*/
|
|
201
|
+
createDatabase(): void;
|
|
196
202
|
/** Create a table from an apache-arrow `Schema` or `{ column: type }`. */
|
|
197
203
|
createTable(name: string, schema: arrow.Schema | SchemaDescriptor | Buffer, indexes: IndexSpec): Table;
|
|
198
204
|
openTable(name: string): Table;
|
package/infino/index.js
CHANGED
|
@@ -263,6 +263,14 @@ class Connection {
|
|
|
263
263
|
constructor(inner) {
|
|
264
264
|
this.inner = inner;
|
|
265
265
|
}
|
|
266
|
+
/**
|
|
267
|
+
* Provision the database this connection targets. On the hosted service this
|
|
268
|
+
* registers the database (throws if it already exists); on a local backend the
|
|
269
|
+
* catalog root is the database, so it is a no-op success.
|
|
270
|
+
*/
|
|
271
|
+
createDatabase() {
|
|
272
|
+
this.inner.createDatabase();
|
|
273
|
+
}
|
|
266
274
|
/** Create a table from an apache-arrow `Schema` or `{ column: type }`. */
|
|
267
275
|
createTable(name, schema, indexes) {
|
|
268
276
|
return new Table(this.inner.createTable(name, schemaToIpc(schema), indexes));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infino-ai/infino",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "Fast search on object storage — SQL, full-text, and vector search.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -82,12 +82,12 @@
|
|
|
82
82
|
"apache-arrow": "^17"
|
|
83
83
|
},
|
|
84
84
|
"optionalDependencies": {
|
|
85
|
-
"infx-darwin-x64": "0.1.
|
|
86
|
-
"infx-darwin-arm64": "0.1.
|
|
87
|
-
"infx-linux-x64-gnu": "0.1.
|
|
88
|
-
"infx-linux-arm64-gnu": "0.1.
|
|
89
|
-
"infx-linux-x64-musl": "0.1.
|
|
90
|
-
"infx-linux-arm64-musl": "0.1.
|
|
85
|
+
"infx-darwin-x64": "0.1.9",
|
|
86
|
+
"infx-darwin-arm64": "0.1.9",
|
|
87
|
+
"infx-linux-x64-gnu": "0.1.9",
|
|
88
|
+
"infx-linux-arm64-gnu": "0.1.9",
|
|
89
|
+
"infx-linux-x64-musl": "0.1.9",
|
|
90
|
+
"infx-linux-arm64-musl": "0.1.9"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
93
|
"@napi-rs/cli": "^2.18.0",
|