An object that you pass as the options parameter that modifies how an operation is performed. Unlike WeivDataOptions this type has cache control over the action.
Set a custom cache timeout to specify a time of expiration for cached data.
(Anything above 6 min won't work since Wix website containers don't live longer than 6min)
OptionalconvertIds
convertIds?:boolean
Description
When enabled we will convert all _id fields from ObjectId to String, if they are not in ObjectId type then we won't touch them. If not enabled we will return _id fields without modification.
OptionalenableCache
enableCache?:boolean
Description
Enable or disable the cache for the current function.
Description
An object that you pass as the
options
parameter that modifies how an operation is performed. UnlikeWeivDataOptions
this type has cache control over the action.