pg-mem
Version:
A memory version of postgres
15 lines • 688 B
TypeScript
import { _IIndex, IndexExpression, _Transaction, IndexKey, _Explainer, _IndexExplanation, IndexOp, _ISelection, Stats, Row } from '../interfaces-private';
export declare class RestrictiveIndex implements _IIndex {
private base;
readonly filter: _ISelection;
constructor(base: _IIndex, filter: _ISelection);
private match;
get expressions(): IndexExpression[];
stats(t: _Transaction, key?: IndexKey): Stats | null;
iterateKeys(): null;
eqFirst(rawKey: IndexKey, t: _Transaction): any;
entropy(t: IndexOp): number;
enumerate(op: IndexOp): Iterable<Row>;
explain(e: _Explainer): _IndexExplanation;
}
//# sourceMappingURL=restrictive-index.d.ts.map