kysely
Version:
Type safe SQL query builder
16 lines (15 loc) • 486 B
TypeScript
import { 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;
}
/**
* @internal
*/
export declare const FetchNode: {
is(node: OperationNode): node is FetchNode;
create(rowCount: number | bigint, modifier: FetchModifier): FetchNode;
};