rado 0.2.15 → 0.2.16
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/dist/define/Cursor.d.ts +1 -0
- package/dist/define/Cursor.js +2 -1
- package/package.json +1 -1
package/dist/define/Cursor.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { Selection } from './Selection';
|
|
|
7
7
|
import { Table, TableData } from './Table';
|
|
8
8
|
declare const QUERY: unique symbol;
|
|
9
9
|
export declare class Cursor<T> {
|
|
10
|
+
[Selection.CursorType]: () => T;
|
|
10
11
|
[QUERY]: Query<T>;
|
|
11
12
|
static Query: typeof QUERY;
|
|
12
13
|
constructor(query: Query<T>);
|
package/dist/define/Cursor.js
CHANGED
|
@@ -10,11 +10,12 @@ import { Expr, ExprData } from "./Expr.js";
|
|
|
10
10
|
import { Functions } from "./Functions.js";
|
|
11
11
|
import { Query } from "./Query.js";
|
|
12
12
|
import { Schema } from "./Schema.js";
|
|
13
|
+
import { Selection } from "./Selection.js";
|
|
13
14
|
import { Table, createTable } from "./Table.js";
|
|
14
15
|
import { Target } from "./Target.js";
|
|
15
16
|
var QUERY = Symbol("Cursor.Query");
|
|
16
17
|
var _Cursor = class {
|
|
17
|
-
[QUERY];
|
|
18
|
+
[(Selection.CursorType, QUERY)];
|
|
18
19
|
constructor(query) {
|
|
19
20
|
this[QUERY] = query;
|
|
20
21
|
}
|