Skip to main content

delete

Function delete 

Source
pub async fn delete(dataset: &mut Dataset, predicate: &str) -> Result<u64>
Expand description

Delete the rows that match predicate, a Lance SQL filter.

Lance gets predicate with no change, so it must be exact for a row, for example __global_attrs__.id = 'a' or sst.attrs.units = 'K'. Returns the number of deleted rows.