pub struct Query { /* private fields */ }
Expand description
A Query
represents a Skyhash query. This is the “standard query” that you will normally use for almost all operations.
Specification: QTDEX-A/BQL-S1
Implementations§
source§impl Query
impl Query
sourcepub fn new_string(query: String) -> Self
pub fn new_string(query: String) -> Self
Create a new query from a String
sourcepub fn push_param(&mut self, param: impl SQParam) -> &mut Self
pub fn push_param(&mut self, param: impl SQParam) -> &mut Self
Add a new parameter to the query
sourcepub fn debug_encode_packet(&self) -> Vec<u8>
pub fn debug_encode_packet(&self) -> Vec<u8>
Encodes the packet using Skyhash and returns a raw packet for debugging purposes
Trait Implementations§
source§impl PartialEq for Query
impl PartialEq for Query
impl StructuralPartialEq for Query
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
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