pub trait RbumCrudQueryPackage {
// Required methods
fn with_filter(
&mut self,
table_name: &str,
filter: &RbumBasicFilterReq,
ignore_owner: bool,
has_scope: bool,
ctx: &TardisContext,
) -> &mut Self;
fn with_scope(
&mut self,
table_name: &str,
filter_own_paths: &str,
with_sub_own_paths: bool,
) -> &mut Self;
}Expand description
Package query request
Required Methods§
Sourcefn with_filter(
&mut self,
table_name: &str,
filter: &RbumBasicFilterReq,
ignore_owner: bool,
has_scope: bool,
ctx: &TardisContext,
) -> &mut Self
fn with_filter( &mut self, table_name: &str, filter: &RbumBasicFilterReq, ignore_owner: bool, has_scope: bool, ctx: &TardisContext, ) -> &mut Self
Add common filter request conditions
添加通用过滤请求条件
Sourcefn with_scope(
&mut self,
table_name: &str,
filter_own_paths: &str,
with_sub_own_paths: bool,
) -> &mut Self
fn with_scope( &mut self, table_name: &str, filter_own_paths: &str, with_sub_own_paths: bool, ) -> &mut Self
Add scope filter conditions
添加作用域过滤条件
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.