MCPcopy
hub / github.com/redis/node-redis / JsonSetOptions

Interface JsonSetOptions

packages/json/lib/commands/SET.ts:5–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import { RedisJSON, transformRedisJsonArgument } from '@redis/client/dist/lib/commands/generic-transformers';
4
5export interface JsonSetOptions {
6 condition?: 'NX' | 'XX';
7 /**
8 * @deprecated Use `{ condition: 'NX' }` instead.
9 */
10 NX?: boolean;
11 /**
12 * @deprecated Use `{ condition: 'XX' }` instead.
13 */
14 XX?: boolean;
15 /**
16 * If set, forces Redis to use the specified floating-point type for storing all FP homogeneous arrays.
17 * available since 8.8
18 */
19 fpha?: 'BF16' | 'FP16' | 'FP32' | 'FP64';
20}
21
22export default {
23 IS_READ_ONLY: false,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected