Add indexing to deletion
This commit is contained in:
parent
b0f05f36f2
commit
1086b2fc5e
2 changed files with 52 additions and 37 deletions
|
|
@ -166,9 +166,9 @@ async fn main() -> Result<()> {
|
|||
|
||||
{
|
||||
let column = 1;
|
||||
println!("BUILDING AN INDEX");
|
||||
store.attach_index(column).await.map_err(|e| e.to_io_or_panic())?;
|
||||
println!("INDEX BUILT!");
|
||||
// println!("BUILDING AN INDEX");
|
||||
// store.attach_index(column).await.map_err(|e| e.to_io_or_panic())?;
|
||||
// println!("INDEX BUILT!");
|
||||
|
||||
let mut cursor = store.read_cursor().await.map_err(|e| e.to_io_or_panic())?;
|
||||
let value = 2;
|
||||
|
|
@ -178,8 +178,6 @@ async fn main() -> Result<()> {
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// {
|
||||
// let mut cursor = store.read_cursor().await.map_err(|e| e.to_io_or_panic())?;
|
||||
// let column = 3;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue