pub enum AdvancedQueryCapacity {
Cte {
cte_count: usize,
avg_query_len: usize,
},
WindowFunction {
window_count: usize,
partition_cols: usize,
order_cols: usize,
},
FullTextSearch {
columns: usize,
query_len: usize,
},
JsonPath {
depth: usize,
},
Upsert {
columns: usize,
conflict_cols: usize,
update_cols: usize,
},
ProcedureCall {
params: usize,
},
TriggerDef {
events: usize,
body_len: usize,
},
RlsPolicy {
expr_len: usize,
},
}Expand description
Extended capacity hints for advanced query types.
Variants§
Cte
Common Table Expression (CTE)
Fields
WindowFunction
Window function query
Fields
FullTextSearch
Full-text search query
JsonPath
JSON path query
Upsert
Upsert with conflict handling
Fields
ProcedureCall
Stored procedure/function call
TriggerDef
Trigger definition
RlsPolicy
Security policy (RLS)
Implementations§
Source§impl AdvancedQueryCapacity
impl AdvancedQueryCapacity
Sourcepub const fn to_query_capacity(&self) -> QueryCapacity
pub const fn to_query_capacity(&self) -> QueryCapacity
Convert to QueryCapacity::Custom for use with FastSqlBuilder.
Trait Implementations§
Source§impl Clone for AdvancedQueryCapacity
impl Clone for AdvancedQueryCapacity
Source§fn clone(&self) -> AdvancedQueryCapacity
fn clone(&self) -> AdvancedQueryCapacity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdvancedQueryCapacity
impl Debug for AdvancedQueryCapacity
impl Copy for AdvancedQueryCapacity
Auto Trait Implementations§
impl Freeze for AdvancedQueryCapacity
impl RefUnwindSafe for AdvancedQueryCapacity
impl Send for AdvancedQueryCapacity
impl Sync for AdvancedQueryCapacity
impl Unpin for AdvancedQueryCapacity
impl UnwindSafe for AdvancedQueryCapacity
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more