clearRelatedCaches()

Overview

public void function clearRelatedCaches(
      required string  objectName             
    ,          any     filter                  = ""
    ,          struct  filterParams           
    ,          boolean clearSingleRecordCaches = true
)

Clears related selectData caches for the given object and optional filters

Arguments

NameTypeRequiredDescription
objectNamestringYes
filteranyNo (default="")
filterParamsstructNo
clearSingleRecordCachesbooleanNo (default=true)