pub struct Column { /* private fields */ }Implementations§
Source§impl Column
impl Column
pub fn new(name: &'static str, col_type: &'static str) -> Self
Sourcepub fn indexed(self) -> Self
pub fn indexed(self) -> Self
Marks this column as filterable.
Filterable columns are indexed on the document table and stored as sqlite-vec metadata columns so supported filters can be applied during KNN candidate search. Filters on other document-table fields are applied after candidate search with an exhaustive candidate limit, which is correct but can be more expensive on large stores.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Column
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnsafeUnpin for Column
impl UnwindSafe for Column
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