Skip to content

Model Class

scopeInfo()

scopeInfo() — returns struct

Available in: model Category: Miscellaneous Functions

Returns a struct containing all named scope definitions for this model. Each key is the scope name, and the value is a struct with query fragment keys like where, order, select, include.