|
74 | 74 | * @prop {EncryptionConfig} [decrypt]
|
75 | 75 | * @prop {boolean} [reverse]
|
76 | 76 | * @prop {'upper'|'lower'} [textCase]
|
| 77 | + * @prop {{target:string, replaceWith:string}} [replace] |
77 | 78 | * @prop {{left?:{length:number, pattern:string}, right?:{length:number, pattern:string}}} [padding]
|
78 | 79 | * @prop {{start:number, length:number}} [substr]
|
79 | 80 | * @prop {'left'|'right'|boolean} [trim]
|
|
88 | 89 | * @prop {number|string} value
|
89 | 90 | * @prop {EncryptionConfig} [decrypt]
|
90 | 91 | * @prop {EncryptionConfig} [encrypt]
|
91 |
| - * @prop {EncryptionConfig} [decimals] |
| 92 | + * @prop {'floor'|'ceil'|'round'|number} [decimals] |
92 | 93 | * @prop {number|string} [sub]
|
93 | 94 | * @prop {number|string} [add]
|
94 | 95 | * @prop {number|string} [power]
|
|
206 | 207 | * @typedef {Object} JoinQuery
|
207 | 208 | * @prop {SelectObject} [select]
|
208 | 209 | * @prop {'left'|'right'|'inner'|'fullOuter'|'cross'} [type]
|
209 |
| - * @prop {(string|{[column:string]:string})[]} using |
| 210 | + * @prop {string[]|{[column:string]:string}} using |
210 | 211 | * @typedef {PartialQuery & JoinQuery} BaseJoin
|
211 | 212 | */
|
212 | 213 |
|
|
222 | 223 | * @prop {BaseJson} [json]
|
223 | 224 | * @prop {BaseJson} [array]
|
224 | 225 | * @prop {BaseQuery} [refer]
|
225 |
| - * @prop {BetweenObject} [between] |
| 226 | + */ |
| 227 | + |
| 228 | +/** |
| 229 | + * composite methods |
| 230 | + * @typedef {Object} CompositeMethods |
226 | 231 | * @prop {(WrapperMethods|AggregateWrappers|CustomWrapper)[]} [and]
|
227 | 232 | * @prop {(WrapperMethods|AggregateWrappers|CustomWrapper)[]} [or]
|
| 233 | + * @prop {BetweenObject} [between] |
228 | 234 | */
|
229 | 235 |
|
230 | 236 | /**
|
|
255 | 261 |
|
256 | 262 | /**
|
257 | 263 | * where object
|
258 |
| - * @typedef {(CustomWrapper|WrapperMethods)} WhereObject |
| 264 | + * @typedef {(CustomWrapper|WrapperMethods|CompositeMethods)} WhereObject |
259 | 265 | */
|
260 | 266 |
|
261 | 267 | /**
|
|
0 commit comments