Skip to main content

scoped_query_in

Function scoped_query_in 

Source
pub fn scoped_query_in<R>(
    cx: &Cx,
    trashed: Trashed,
) -> Result<Query<List<<R as Resource>::Model>>, Error>
where R: Resource,
Expand description

scoped_query admitting the records trashed names, as a restore or a trash list loads them, under the same tenant filter.

On a resource that declares no soft_delete column every record is live: Trashed::Only admits none, and the other scopes admit all.

ยงErrors

As scoped_query.