Skip to content

Latest commit

 

History

History
68 lines (40 loc) · 2.26 KB

File metadata and controls

68 lines (40 loc) · 2.26 KB

@onzag/itemize / Modules / base/Root/Module/ItemDefinition/PropertyDefinition/local-sql

Module: base/Root/Module/ItemDefinition/PropertyDefinition/local-sql

This file contains fake local sql functions that run as if they were sql functions but in the javascript context

They exist for use within the redis cache within the server and client side respectively

Table of contents

Functions

Functions

standardLocalEqual

standardLocalEqual(arg): boolean

Standard local equal for comparing values locally in the client side by default it just compares

Parameters

Name Type Description
arg ILocalEqualInfo<PropertyDefinitionSupportedType> the local information

Returns

boolean

a boolean on whether it equals or not

Defined in

base/Root/Module/ItemDefinition/PropertyDefinition/local-sql.ts:32


standardSQLSSCacheEqualFn

standardSQLSSCacheEqualFn(arg): boolean

This function represents the standard way an equality check is performed locally in the cache when equality between properties is requests this local equal is ran against SQL cached properties, that is redis cache it is used for check for policies

Parameters

Name Type Description
arg ISQLSSCacheEqualInfo the sql ss cache equal info

Returns

boolean

a boolean on whether it equals

Defined in

base/Root/Module/ItemDefinition/PropertyDefinition/local-sql.ts:22