@onzag/itemize / Modules / 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
▸ standardLocalEqual(arg): boolean
Standard local equal for comparing values locally in the client side by default it just compares
| Name | Type | Description |
|---|---|---|
arg |
ILocalEqualInfo<PropertyDefinitionSupportedType> |
the local information |
boolean
a boolean on whether it equals or not
base/Root/Module/ItemDefinition/PropertyDefinition/local-sql.ts:32
▸ 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
| Name | Type | Description |
|---|---|---|
arg |
ISQLSSCacheEqualInfo |
the sql ss cache equal info |
boolean
a boolean on whether it equals
base/Root/Module/ItemDefinition/PropertyDefinition/local-sql.ts:22