jin-frame / decorators/fields/Query / Query
Function: Query()
Query(
_option?): (target,propertyKey) =>void
Defined in: packages/jin-frame/src/decorators/fields/Query.ts:10
decorator to set class variable to HTTP API query parameter
Parameters
_option?
Partial<Omit<IQueryFieldOption, "type">>
Returns
(
target,propertyKey):void
Parameters
target
object
propertyKey
string | symbol
Returns
void