Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PrimaryEntityManagerForTest<TEntity, TSecondaryManager>

Type parameters

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected _luaKeyGeneratorFromId

_luaKeyGeneratorFromId: function

Lua expression generator.

Type declaration

    • (alias: string): string
    • Parameters

      • alias: string

      Returns string

Protected _model

_model: Model<TEntity>

Model managed.

Protected _negativeEntityCache

_negativeEntityCache: boolean

True to use negative entity cache.

Protected _redis

Redis connection.

Protected _successor

_successor: TSecondaryManager

Secondary model manager of the model.

Accessors

model

  • get model(): Model<TEntity>

Methods

Protected _deleteEntitiesUsingNegativeCache

Protected _deleteEntityUsingNegativeCache

Protected _evaluateUseNegativeCache

Protected _getKey

  • _getKey(id: number | string): string

Protected _innerGetByDistinctIdsNotMapped

Protected _innerGetById

Protected _innerGetByIds

Protected _innerGetKeyGenerationLuaScriptGenerator

  • _innerGetKeyGenerationLuaScriptGenerator(keyGenParams: KeyGenParams): function

Protected _luaGetMultipleDeleteUsingNegativeCache

Protected _luaGetMultipleSetEx

  • _luaGetMultipleSetEx(): string

Protected _luaGetMultipleSetNx

  • _luaGetMultipleSetNx(): string

Protected _luaGetMultipleSetNxEx

  • _luaGetMultipleSetNxEx(): string

Protected _luaGetUpdateStatement

  • _luaGetUpdateStatement(options: PersistencyUpdateOptions, keyExpression: string, entityExpression: string, ttlExpression?: string): string

get

getKey

  • getKey(id: number | string): string

getLuaKeyGeneratorFromId

  • getLuaKeyGeneratorFromId(): function

mGet

Generated using TypeDoc