pub struct BuiltQuery {
pub sql: String,
pub placeholders: usize,
}Expand description
A rendered WHERE/ORDER BY/LIMIT and how many placeholders it
used.
Fields§
§sql: StringEverything after the table: WHERE … ORDER BY … LIMIT ….
Empty when the query selects everything.
placeholders: usizeTotal ?n slots. Equal to the number of values to bind,
which is not the number of conditions once In is involved.
Trait Implementations§
Source§impl Clone for BuiltQuery
impl Clone for BuiltQuery
Source§impl Debug for BuiltQuery
impl Debug for BuiltQuery
Source§impl PartialEq for BuiltQuery
impl PartialEq for BuiltQuery
impl StructuralPartialEq for BuiltQuery
Auto Trait Implementations§
impl Freeze for BuiltQuery
impl RefUnwindSafe for BuiltQuery
impl Send for BuiltQuery
impl Sync for BuiltQuery
impl Unpin for BuiltQuery
impl UnsafeUnpin for BuiltQuery
impl UnwindSafe for BuiltQuery
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