Initial commit - Event Planner application
This commit is contained in:
19
node_modules/kysely/dist/esm/operation-node/primitive-value-list-node.d.ts
generated
vendored
Normal file
19
node_modules/kysely/dist/esm/operation-node/primitive-value-list-node.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import type { OperationNode } from './operation-node.js';
|
||||
/**
|
||||
* This node is basically just a performance optimization over the normal ValueListNode.
|
||||
* The queries often contain large arrays of primitive values (for example in a `where in` list)
|
||||
* and we don't want to create a ValueNode for each item in those lists.
|
||||
*/
|
||||
export interface PrimitiveValueListNode extends OperationNode {
|
||||
readonly kind: 'PrimitiveValueListNode';
|
||||
readonly values: ReadonlyArray<unknown>;
|
||||
}
|
||||
type PrimitiveValueListNodeFactory = Readonly<{
|
||||
is(node: OperationNode): node is PrimitiveValueListNode;
|
||||
create(values: ReadonlyArray<unknown>): Readonly<PrimitiveValueListNode>;
|
||||
}>;
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
export declare const PrimitiveValueListNode: PrimitiveValueListNodeFactory;
|
||||
export {};
|
||||
Reference in New Issue
Block a user