UNPKG

@clickup/ent-framework

Version:

A PostgreSQL graph-database-alike library with microsharding and row-level security

95 lines (51 loc) 1.71 kB
[**@clickup/ent-framework**](../README.md) *** [@clickup/ent-framework](../globals.md) / IDsCacheUpdatable # Class: IDsCacheUpdatable Defined in: [src/ent/predicates/Predicate.ts:47](https://github.com/clickup/ent-framework/blob/master/src/ent/predicates/Predicate.ts#L47) ## Extends - [`IDsCache`](IDsCache.md) ## Constructors ### new IDsCacheUpdatable() > **new IDsCacheUpdatable**(): [`IDsCacheUpdatable`](IDsCacheUpdatable.md) #### Returns [`IDsCacheUpdatable`](IDsCacheUpdatable.md) #### Inherited from [`IDsCache`](IDsCache.md).[`constructor`](IDsCache.md#constructors) ## Methods ### has() > **has**(`id`): `boolean` Defined in: [src/ent/IDsCache.ts:6](https://github.com/clickup/ent-framework/blob/master/src/ent/IDsCache.ts#L6) #### Parameters | Parameter | Type | | ------ | ------ | | `id` | `string` | #### Returns `boolean` #### Inherited from [`IDsCache`](IDsCache.md).[`has`](IDsCache.md#has) *** ### add() > **add**(`id`, `value`): `void` Defined in: [src/ent/IDsCache.ts:10](https://github.com/clickup/ent-framework/blob/master/src/ent/IDsCache.ts#L10) #### Parameters | Parameter | Type | Default value | | ------ | ------ | ------ | | `id` | `string` | `undefined` | | `value` | `boolean` | `true` | #### Returns `void` #### Inherited from [`IDsCache`](IDsCache.md).[`add`](IDsCache.md#add) *** ### get() > **get**(`id`): `undefined` \| `boolean` Defined in: [src/ent/IDsCache.ts:14](https://github.com/clickup/ent-framework/blob/master/src/ent/IDsCache.ts#L14) #### Parameters | Parameter | Type | | ------ | ------ | | `id` | `string` | #### Returns `undefined` \| `boolean` #### Inherited from [`IDsCache`](IDsCache.md).[`get`](IDsCache.md#get)