Igor Savin
Igor Savin
PR would be welcome!
@code-ape What kind of SQL would you expect to be generated when this parameter is passed?
This is addressed by https://github.com/SBoudrias/Inquirer.js/pull/1432
Can you share more details about you use-case? What is the structure of your ids, and what would you like to compute it from? Naive example from tests: ```ts const...
Exactly, `getMany` is intended to be used for `whereIn` scenarios. Can't you type your Loader as `Loader`? In that case you will be able to store multiple entries per key,...
See above suggestion. My suggestion would be to define `NewMultiLoader: Loader`, and pass loadParams with whatever pagination, date and region filter that you want. I guess separation between id and...
See this example: ``` type MyLoaderParams { region?: string pageNum?: number pageSize?: number } export function resolveKey (params: MyLoaderParams): string { return `${params.region ?? '*'}-${params.pageNum ?? '*'}-${params.pageSize ?? '*'}` }...
@tomcatmurr You can simply do `throw new Error('Not implemented')` from it if you don't intend to use it.
glad to hear that! and appreciate you reaching out, I'll update documentation to explain these more advanced use-cases with greater details. Слава Україні!
I'll take a look later tonight!