UNPKG

@dialog-db/query

Version:

Datalog query engine inspired by Datomic

12 lines 1.18 kB
export const NOTHING: never; export function has(selection: API.MatchFrame, scope: API.Cursor, variable: API.Variable): boolean; export function resolve<T extends API.Scalar>(scope: API.Cursor, variable: API.Variable<T>): Iterable<API.Variable<T>>; export function enumerate<T extends API.Scalar>(scope: API.Cursor, variable: API.Variable<T>): Generator<API.Variable<API.Scalar>, void, unknown>; export function link<T extends API.Scalar>(scope: API.Cursor, local: API.Variable<T>, remote: API.Variable<T>): void; export function read<T extends API.Scalar>(selection: API.MatchFrame, scope: API.Cursor, variable: API.Variable<T>): T | undefined; export function get<T extends API.Scalar>(selection: API.MatchFrame, scope: API.Cursor, term: API.Term<T>): T | undefined; export function set<T extends API.Scalar>(selection: API.MatchFrame, scope: API.Cursor, variable: API.Variable<T>, value: T): void; export function markBound(selection: API.MatchFrame, scope: API.Cursor, variable: API.Variable): void; export function merge(selection: API.MatchFrame, scope: API.Cursor, term: API.Term, value: API.Scalar): void; import * as API from './api.js'; //# sourceMappingURL=cursor.d.ts.map