kysely
Version:
Type safe SQL query builder
18 lines (17 loc) • 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 {};