Files
evento/node_modules/kysely/dist/cjs/operation-node/fetch-node.d.ts
2026-03-18 14:55:56 -03:00

18 lines
564 B
TypeScript

import type { OperationNode } from './operation-node.js';
import { ValueNode } from './value-node.js';
export type FetchModifier = 'only' | 'with ties';
export interface FetchNode extends OperationNode {
readonly kind: 'FetchNode';
readonly rowCount: ValueNode;
readonly modifier: FetchModifier;
}
type FetchNodeFactory = Readonly<{
is(node: OperationNode): node is FetchNode;
create(rowCount: number | bigint, modifier: FetchModifier): Readonly<FetchNode>;
}>;
/**
* @internal
*/
export declare const FetchNode: FetchNodeFactory;
export {};