1 | import { FindOperatorType } from "./FindOperatorType";
|
2 | import { Connection } from "../";
|
3 |
|
4 |
|
5 |
|
6 | export declare class FindOperator<T> {
|
7 | |
8 |
|
9 |
|
10 | private _type;
|
11 | |
12 |
|
13 |
|
14 | private _value;
|
15 | |
16 |
|
17 |
|
18 | private _useParameter;
|
19 | |
20 |
|
21 |
|
22 | private _multipleParameters;
|
23 | constructor(type: FindOperatorType, value: T | FindOperator<T>, useParameter?: boolean, multipleParameters?: boolean);
|
24 | /**
|
25 | * Indicates if parameter is used or not for this operator.
|
26 | * Extracts final value if value is another find operator.
|
27 | */
|
28 | readonly useParameter: boolean;
|
29 | /**
|
30 | * Indicates if multiple parameters must be used for this operator.
|
31 | * Extracts final value if value is another find operator.
|
32 | */
|
33 | readonly multipleParameters: boolean;
|
34 | /**
|
35 | * Gets the final value needs to be used as parameter value.
|
36 | */
|
37 | readonly value: T;
|
38 | /**
|
39 | * Gets SQL needs to be inserted into final query.
|
40 | */
|
41 | toSql(connection: Connection, aliasPath: string, parameters: string[]): string;
|
42 | }
|